summaryrefslogtreecommitdiff
path: root/trumagic.js
diff options
context:
space:
mode:
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`