Skip to content

Commit

Permalink
Make OS comparison case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishbowler committed Jan 15, 2025
1 parent 14cbdee commit 99e611b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maestro-cli/src/main/java/maestro/cli/util/EnvUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ object EnvUtils {
}

fun isWindows(): Boolean {
return OS_NAME.startsWith("Windows")
return OS_NAME.lowercase().startsWith("windows")
}

/**
Expand Down

0 comments on commit 99e611b

Please sign in to comment.