feat(packaging): add AppImage build script, AppDir metadata, and systemd service unit
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
HERE="$(dirname "$(readlink -f "$0")")"
|
||||
export PATH="$HERE/usr/bin:$PATH"
|
||||
export XDG_DATA_DIRS="$HERE/usr/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
|
||||
|
||||
case "$1" in
|
||||
daemon)
|
||||
shift
|
||||
exec "$HERE/usr/bin/blocker-daemon" "$@"
|
||||
;;
|
||||
ui)
|
||||
shift
|
||||
exec "$HERE/usr/bin/blocker-ui" "$@"
|
||||
;;
|
||||
*)
|
||||
exec "$HERE/usr/bin/blocker-daemon" "$@"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user