From 24c7fb2b9218a4be2be99f907d68c512d35c06fa Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 19 Dec 2021 02:41:21 +0000 Subject: [PATCH] fix(cli:run) case insensitive calls to program run Allow the user to run programs (.exe) in a case insensitive manor Resolves danielyxie/bitburner#1958 --- src/Terminal/commands/runProgram.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terminal/commands/runProgram.ts b/src/Terminal/commands/runProgram.ts index f9e17b2d8..5f48029e6 100644 --- a/src/Terminal/commands/runProgram.ts +++ b/src/Terminal/commands/runProgram.ts @@ -33,7 +33,7 @@ export function runProgram( } for (const program of Object.values(Programs)) { - if (program.name === programName) { + if (program.name.toLocaleLowerCase() === programName.toLocaleLowerCase()) { program.run( router, terminal,