Skip to content

Commit bb4751d

Browse files
committed
fixed error on unix command strings
1 parent 44c7255 commit bb4751d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

electronClient.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ ipcMain.on('script:execute', function(e){
6464
});
6565
}
6666
else {
67-
exec('bash -c "$NETKIT_HOME%/lstart -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
67+
exec('bash -c "$NETKIT_HOME/lstart -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
6868
//console.log(err, stdout, stderr);
6969
return;
7070
});
@@ -80,7 +80,7 @@ ipcMain.on('script:clean', function(e){
8080
});
8181
}
8282
else {
83-
exec('bash -c "$NETKIT_HOME%/lclean -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
83+
exec('bash -c "$NETKIT_HOME/lclean -d ' + path.join(tmp_folder, "lab") + '"', function (err, stdout, stderr) {
8484
//console.log(err, stdout, stderr);
8585
return;
8686
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "electron .",
88
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/mac/icon.icns --prune=true --out=release-builds",
99
"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\"",
10-
"package-linux" : "electron-packager . --overwrite --platform=linux --arch=x64 --icon=assets/icons/png/icon.png --prune=true --out=release-builds"
10+
"package-linux": "electron-packager . --overwrite --platform=linux --arch=x64 --icon=assets/icons/png/icon.png --prune=true --out=release-builds"
1111
},
1212
"author": "Gaetano Bonofiglio",
1313
"license": "GPL-3.0",

0 commit comments

Comments
 (0)