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()) {
|
||||
case "darwin":
|
||||
case "linux":
|
||||
daemonPath = join(process.resourcesPath, "modem", "freedata-daemon");
|
||||
daemonPath = join(__dirname, "modem", "freedata-daemon");
|
||||
|
||||
break;
|
||||
case "win32":
|
||||
case "win64":
|
||||
daemonPath = join(process.resourcesPath, "modem", "freedata-daemon.exe");
|
||||
daemonPath = join(__dirname, "modem", "freedata-daemon.exe");
|
||||
break;
|
||||
default:
|
||||
console.log("Unhandled OS Platform: ", platform());
|
||||
|
|
Loading…
Reference in a new issue