diff --git a/.github/workflows/build-project.yml b/.github/workflows/build-project.yml index 5146b91b..d552da9e 100644 --- a/.github/workflows/build-project.yml +++ b/.github/workflows/build-project.yml @@ -58,7 +58,7 @@ jobs: if: matrix.os == 'windows-latest' working-directory: tnc run: | - pyinstaller -F --add-binary="libcodec2.dll;lib/codec2/windows/" --add-binary="lib/hamlib/win32/*;lib/hamlib/win32" --add-binary="lib/hamlib/win64/*;lib/hamlib/win64" main.py -n tnc + pyinstaller -F --add-binary="lib/codec2/windows/*;lib/codec2/windows/" --add-binary="lib/hamlib/win32/*;lib/hamlib/win32" --add-binary="lib/hamlib/win64/*;lib/hamlib/win64" main.py -n tnc diff --git a/gui/main.js b/gui/main.js index 175238a7..6642ddad 100644 --- a/gui/main.js +++ b/gui/main.js @@ -161,7 +161,7 @@ app.whenReady().then(() => { console.log("Trying to start daemon binary") if(os.platform()=='linux' || os.platform()=='darwin'){ - daemonProcess = exec('./daemon', function callback(err, stdout, stderr) { + daemonProcess = exec('./tnc/daemon', function callback(err, stdout, stderr) { if (err) { console.log(os.platform()) console.error(err) @@ -174,7 +174,7 @@ app.whenReady().then(() => { } if(os.platform()=='win32' || os.platform()=='win64'){ - daemonProcess = exec('daemon.exe', function callback(err, stdout, stderr) { + daemonProcess = exec('./tnc/daemon.exe', function callback(err, stdout, stderr) { if (err) { console.log(os.platform()) console.error(err)