summaryrefslogtreecommitdiff
path: root/trumagic.js
diff options
context:
space:
mode:
authorArman <[email protected]>2018-08-02 20:01:43 -0700
committerArman <[email protected]>2018-08-02 20:01:43 -0700
commit25454612ad8291fc7e53de79038eb3e38212c7ed (patch)
tree5368ca3c413f5b2e7b25e66312ddfe480ca8dbec /trumagic.js
parentfixed path escaping (diff)
downloadlauncher-master.tar.xz
launcher-master.zip
added support for cd into dirHEADmaster
Diffstat (limited to 'trumagic.js')
-rw-r--r--trumagic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/trumagic.js b/trumagic.js
index db3d8cd..14bc2f3 100644
--- a/trumagic.js
+++ b/trumagic.js
@@ -95,7 +95,7 @@ ipcMain.on('game:start', function (e) {
console.log('starting shit');
let command;
if (process.platform == 'darwin') {
- command = `wine ${config.customPath}/Bin/WizardGraphicalClient.exe -L login.us.wizard101.com 12000 -A English`;
+ command = `cd ${config.customPath}/Bin && wine WizardGraphicalClient.exe -L login.us.wizard101.com 12000 -A English`;
}
else {
command = `${config.customPath}\Bin\WizardGraphicalClient.exe -L login.us.wizard101.com 12000 -A English`