Skip to content

Commit

Permalink
fixed error on unix command strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidel committed Jan 14, 2018
1 parent 44c7255 commit bb4751d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions electronClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ipcMain.on('script:execute', function(e){
});
}
else {
exec('bash -c "$NETKIT_HOME%/lstart -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
exec('bash -c "$NETKIT_HOME/lstart -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
//console.log(err, stdout, stderr);
return;
});
Expand All @@ -80,7 +80,7 @@ ipcMain.on('script:clean', function(e){
});
}
else {
exec('bash -c "$NETKIT_HOME%/lclean -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
exec('bash -c "$NETKIT_HOME/lclean -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
//console.log(err, stdout, stderr);
return;
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "electron .",
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/mac/icon.icns --prune=true --out=release-builds",
"package-win": "electron-packager . --overwrite --asar=true --platform=win32 --arch=ia32 --icon=assets/icons/win/icon.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"KatharaUI\"",
"package-linux" : "electron-packager . --overwrite --platform=linux --arch=x64 --icon=assets/icons/png/icon.png --prune=true --out=release-builds"
"package-linux": "electron-packager . --overwrite --platform=linux --arch=x64 --icon=assets/icons/png/icon.png --prune=true --out=release-builds"
},
"author": "Gaetano Bonofiglio",
"license": "GPL-3.0",
Expand Down

0 comments on commit bb4751d

Please sign in to comment.