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
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
|
cp ./server/config.ini $SERVER_CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Launch the server
|
echo "Setting server config variable"
|
||||||
echo "Starting freedata-server"
|
|
||||||
|
|
||||||
export FREEDATA_CONFIG=$SERVER_CONFIG_FILE
|
export FREEDATA_CONFIG=$SERVER_CONFIG_FILE
|
||||||
./server/freedata-server
|
# ./server/freedata-server
|
||||||
|
|
||||||
# Launch the gui
|
# Launch the gui
|
||||||
echo "Starting 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
|
//serverProcess.unref(); // Allow the server process to continue running independently of the parent process
|
||||||
// break;
|
// break;
|
||||||
case "linux":
|
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}`);
|
console.log(`Starting server with path: ${serverPath}`);
|
||||||
|
|
||||||
serverProcess = spawn(serverPath, [], { detached: true });
|
serverProcess = spawn(serverPath, [], { detached: true });
|
||||||
serverProcess.unref(); // Allow the server process to continue running independently of the parent process
|
serverProcess.unref(); // Allow the server process to continue running independently of the parent process
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue