adjusted appimage path

This commit is contained in:
DJ2LS 2024-04-20 13:32:26 +02:00
parent 460d466a28
commit ef74a9409e
2 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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;