From f6f69e2f13cedbc201a950cd564d4dbf36096c2c Mon Sep 17 00:00:00 2001 From: silentrald Date: Sat, 24 Aug 2024 21:41:10 +0800 Subject: [PATCH] [bugfix] wrap dotnet cmdlet's path argument with double quotes for installing bsipa --- src/main/services/mods/bs-mods-manager.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/mods/bs-mods-manager.service.ts b/src/main/services/mods/bs-mods-manager.service.ts index 9d900648..60b4b6f4 100644 --- a/src/main/services/mods/bs-mods-manager.service.ts +++ b/src/main/services/mods/bs-mods-manager.service.ts @@ -147,7 +147,7 @@ export class BsModsManagerService { return new Promise(resolve => { const cmd = process.platform === 'linux' - ? `screen -dmS "BSIPA" dotnet ${ipaPath} ${args.join(" ")}` // Must run through screen, otherwise BSIPA tries to move console cursor and crashes. + ? `screen -dmS "BSIPA" dotnet "${ipaPath}" ${args.join(" ")}` // Must run through screen, otherwise BSIPA tries to move console cursor and crashes. : `"${ipaPath}" ${args.join(" ")}`; log.info("START IPA PROCESS", cmd);