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
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Name=Blocker
|
||||
Comment=Focus and app blocking daemon
|
||||
Exec=AppRun
|
||||
Icon=blocker
|
||||
Type=Application
|
||||
Categories=Utility;
|
||||
Terminal=true
|
||||
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
||||
<circle cx="32" cy="32" r="30" fill="#2d3748" stroke="#4a5568" stroke-width="2"/>
|
||||
<circle cx="32" cy="32" r="22" fill="none" stroke="#e53e3e" stroke-width="4"/>
|
||||
<line x1="16" y1="16" x2="48" y2="48" stroke="#e53e3e" stroke-width="4"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 332 B |
Reference in New Issue
Block a user