mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
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:
commit
b6df183953
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user