mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjusted path to mode inside asar
This commit is contained in:
parent
287826831b
commit
7a8d1e9dd1
|
@ -105,12 +105,12 @@ app.whenReady().then(() => {
|
||||||
switch (platform().toLowerCase()) {
|
switch (platform().toLowerCase()) {
|
||||||
case "darwin":
|
case "darwin":
|
||||||
case "linux":
|
case "linux":
|
||||||
daemonPath = join(process.resourcesPath, "modem", "freedata-daemon");
|
daemonPath = join(__dirname, "modem", "freedata-daemon");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case "win32":
|
case "win32":
|
||||||
case "win64":
|
case "win64":
|
||||||
daemonPath = join(process.resourcesPath, "modem", "freedata-daemon.exe");
|
daemonPath = join(__dirname, "modem", "freedata-daemon.exe");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.log("Unhandled OS Platform: ", platform());
|
console.log("Unhandled OS Platform: ", platform());
|
||||||
|
|
Loading…
Reference in a new issue