summaryrefslogtreecommitdiffhomepage
path: root/packaging/electron/dispatch-electron.install
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-04 21:21:20 +0900
committerAdam Malczewski <[email protected]>2026-06-04 21:21:20 +0900
commit394f1ed37ce860da6fdc385769bf29f9737105cd (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /packaging/electron/dispatch-electron.install
parent81a9cdbadf8c9d940d4fe9a2a0de607dee1f5f1a (diff)
downloaddispatch-394f1ed37ce860da6fdc385769bf29f9737105cd.tar.gz
dispatch-394f1ed37ce860da6fdc385769bf29f9737105cd.zip
chore: genesis — remove all files to rebuild from scratch (arch rewrite)
Diffstat (limited to 'packaging/electron/dispatch-electron.install')
-rw-r--r--packaging/electron/dispatch-electron.install32
1 files changed, 0 insertions, 32 deletions
diff --git a/packaging/electron/dispatch-electron.install b/packaging/electron/dispatch-electron.install
deleted file mode 100644
index 9eea6b1..0000000
--- a/packaging/electron/dispatch-electron.install
+++ /dev/null
@@ -1,32 +0,0 @@
-post_install() {
- echo ""
- echo "==> Dispatch Electron desktop wrapper installed (self-contained)."
- echo " Launch from your menu (Dispatch) or run:"
- echo " dispatch"
- echo ""
- echo " The bundled frontend talks to the API URL baked in at build"
- echo " time (default: http://localhost:18390). To run a local backend:"
- echo " pacman -S dispatch dispatch-systemd # systemd"
- echo " pacman -S dispatch dispatch-s6 # s6 / Artix"
- echo ""
- echo " To point the wrapper at a different backend, rebuild with:"
- echo " VITE_API_URL=\"http://your-host:18390\" bin/build-pkg-electron"
- echo ""
-
- if command -v update-desktop-database >/dev/null 2>&1; then
- update-desktop-database -q /usr/share/applications 2>/dev/null || true
- fi
- if command -v gtk-update-icon-cache >/dev/null 2>&1; then
- gtk-update-icon-cache -q /usr/share/icons/hicolor 2>/dev/null || true
- fi
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- if command -v update-desktop-database >/dev/null 2>&1; then
- update-desktop-database -q /usr/share/applications 2>/dev/null || true
- fi
-}