diff --git a/package.json b/package.json index ec85599..9d357bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "knockoutcitylauncher", - "version": "2.0.2", + "version": "2.0.3", "description": "Unofficial Knockout City Launcher", "main": "./out/main/index.js", "author": "IPGsystems", diff --git a/src/main/index.ts b/src/main/index.ts index 7f68ee7..9ee27ce 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -754,7 +754,7 @@ function createWindow(): void { gid: os.userInfo().gid, shell: '/bin/bash' }) - : spawn(`KnockoutCity.exe ${args.join(' ')}`, args, { + : spawn(`KnockoutCity.exe`, args, { detached: true, stdio: 'ignore', cwd: `${arg.path}/${arg.version == 1 ? 'highRes' : 'lowRes'}/KnockoutCity`,