Merge pull request #567 from silentrald/bugfix/bsipa-linux

[bugfix] wrap dotnet cmdlet's path argument with double quotes for installing bsipa
This commit is contained in:
MathieuG-P
2024-08-24 15:57:56 +02:00
committed by GitHub
@@ -150,7 +150,7 @@ export class BsModsManagerService {
return new Promise<boolean>(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);