aboutsummaryrefslogtreecommitdiff
path: root/asteroid-helloworld.in
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2023-05-09 10:49:32 +0200
committerMagneFire <dgriet@gmail.com>2023-05-14 19:38:55 +0200
commitc206053240d39ba1ae3b045566274bde3b40ad3e (patch)
tree373213c31f893740f423fa26ffc8760ac991a7c1 /asteroid-helloworld.in
parente78b0968ae9ab48a815319b8f6d87ac0e9df95b7 (diff)
Move main library file to CMAKE_INSTALL_LIBDIR and add a launch script
Previously the main program file was installed to /usr/bin, mistakingly giving the impression it could be executed as is. However it isn't a binary but a library that gets executed through invoker. To prevent confusion move it to /usr/lib and add a launch script to /usr/bin instead which launches it through invoker
Diffstat (limited to 'asteroid-helloworld.in')
-rw-r--r--asteroid-helloworld.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/asteroid-helloworld.in b/asteroid-helloworld.in
new file mode 100644
index 0000000..32e82d2
--- /dev/null
+++ b/asteroid-helloworld.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec invoker --single-instance --type=qtcomponents-qt5 @CMAKE_INSTALL_FULL_LIBDIR@/asteroid-helloworld.so