feat(packaging): add AppImage build script, AppDir metadata, and systemd service unit

This commit is contained in:
2026-10-02 17:10:00 +03:00
parent 2194c28ab5
commit 08fa97da8f
5 changed files with 81 additions and 0 deletions
+19
View File
@@ -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