Merge pull request #2008 from hexnaught/lowercase-exe-call-patch

Allow `.exe` (programs) to be ran in a case-insensitive `run`
This commit is contained in:
hydroflame 2021-12-19 00:23:52 -05:00 committed by GitHub
commit b6df183953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,7 @@ export function runProgram(
} }
for (const program of Object.values(Programs)) { for (const program of Object.values(Programs)) {
if (program.name === programName) { if (program.name.toLocaleLowerCase() === programName.toLocaleLowerCase()) {
program.run( program.run(
router, router,
terminal, terminal,