mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjusted appimage path
This commit is contained in:
parent
460d466a28
commit
ef74a9409e
2 changed files with 5 additions and 5 deletions
6
.github/workflows/build_appimage_bundle.yml
vendored
6
.github/workflows/build_appimage_bundle.yml
vendored
|
@ -88,11 +88,9 @@ jobs:
|
|||
cp ./server/config.ini $SERVER_CONFIG_FILE
|
||||
fi
|
||||
|
||||
# Launch the server
|
||||
echo "Starting freedata-server"
|
||||
|
||||
echo "Setting server config variable"
|
||||
export FREEDATA_CONFIG=$SERVER_CONFIG_FILE
|
||||
./server/freedata-server
|
||||
# ./server/freedata-server
|
||||
|
||||
# Launch the gui
|
||||
echo "Starting gui"
|
||||
|
|
|
@ -112,8 +112,10 @@ app.whenReady().then(() => {
|
|||
//serverProcess.unref(); // Allow the server process to continue running independently of the parent process
|
||||
// break;
|
||||
case "linux":
|
||||
serverPath = join(basePath, "server.dist", "freedata-server");
|
||||
serverPath = join(basePath, "server", "freedata-server");
|
||||
//process.env.FREEDATA_CONFIG = '~/.config/FreeDATA/config.ini';
|
||||
console.log(`Starting server with path: ${serverPath}`);
|
||||
|
||||
serverProcess = spawn(serverPath, [], { detached: true });
|
||||
serverProcess.unref(); // Allow the server process to continue running independently of the parent process
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue