diff options
author | 0b100100 | 2021-12-30 00:04:55 +0100 |
---|---|---|
committer | 0b100100 | 2021-12-30 00:16:27 +0100 |
commit | cc64ae73522851c4ea868ac746f38c3d73eb5d52 (patch) | |
tree | ff229f9653bee217470290126fe1144b7b8f8cfb /heli-x-wrapper.sh | |
parent | 226d41015764fa916929dfd03618f7545a058a51 (diff) | |
download | aur-cc64ae73522851c4ea868ac746f38c3d73eb5d52.tar.gz |
Let the server be started by an additional desktop file
Diffstat (limited to 'heli-x-wrapper.sh')
-rw-r--r-- | heli-x-wrapper.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/heli-x-wrapper.sh b/heli-x-wrapper.sh index a98b5912de51..d5f7f78ebb21 100644 --- a/heli-x-wrapper.sh +++ b/heli-x-wrapper.sh @@ -24,5 +24,8 @@ else fi fi -# execute the heli-x application +# execute the heli-x application or server script +if [ "$1" == "server" ]; then + APP_EXECUTABLE=${APP_EXECUTABLE/.sh/-Server.sh} +fi exec $APP_EXECUTABLE |