Skip to content

Commit

Permalink
Fix drive letter case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Herschel committed Apr 8, 2024
1 parent d514d77 commit bb9bebc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified run.n
Binary file not shown.
2 changes: 1 addition & 1 deletion src/hmm/utils/Shell.hx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Shell {
var result = { statusCode: commandResult.statusCode, isInstalled: false, path: null, libraryName: null, version: null };
var notInstalledRegex = ~/is not installed/i;
var versionRegex = ~/^\s*-D\s*(.*)=(.*)\s*$/;
var pathRegex = ~/^(\/|[A-Z]:)/;
var pathRegex = ~/^(\/|[a-zA-Z]:)/;
for (line in outputLines) {
var outputLine = line.trim();
if (notInstalledRegex.match(outputLine)) {
Expand Down

0 comments on commit bb9bebc

Please sign in to comment.