mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjusted appimage startup script
This commit is contained in:
parent
ac5394c9c0
commit
23cbffe407
1 changed files with 9 additions and 4 deletions
13
.github/workflows/build_appimage_bundle.yml
vendored
13
.github/workflows/build_appimage_bundle.yml
vendored
|
@ -85,13 +85,18 @@ jobs:
|
|||
else
|
||||
echo "$SERVER_CONFIG_FILE does not exist. Copying the default one"
|
||||
mkdir ~/.config/FreeDATA
|
||||
cp server.dist/config.ini $SERVER_CONFIG_FILE
|
||||
cp ./server/config.ini $SERVER_CONFIG_FILE
|
||||
fi
|
||||
|
||||
|
||||
# Launch the server
|
||||
echo "Starting freedata-server"
|
||||
|
||||
export FREEDATA_CONFIG=$SERVER_CONFIG_FILE
|
||||
./server/freedata-server
|
||||
|
||||
# Launch the main application executable from the linux-unpacked directory
|
||||
./linux-unpacked/freedata
|
||||
# Launch the gui
|
||||
echo "Starting gui"
|
||||
./gui/freedata
|
||||
|
||||
' > $HOME/freedata-appimage/AppRun
|
||||
chmod +x $HOME/freedata-appimage/AppRun
|
||||
|
|
Loading…
Reference in a new issue