feat: 统一安装和卸载脚本以支持PolicyKit权限配置

rpm应该能通用这两个脚本
This commit is contained in:
Elysia
2026-01-28 22:40:54 +08:00
parent d529dd6e5e
commit f15fb28d80
3 changed files with 4 additions and 2 deletions

View File

@@ -28,8 +28,8 @@ linux:
- "deb"
- "rpm"
deb:
afterInstall: "scripts/debian-postinst.sh"
afterRemove: "scripts/debian-postrm.sh"
afterInstall: "scripts/postinst.sh"
afterRemove: "scripts/postrm.sh"
depends:
- "libgtk-3-0"
- "libnotify4"
@@ -42,6 +42,8 @@ deb:
- "libsecret-1-0"
- "apm"
rpm:
afterInstall: "scripts/postinst.sh"
afterRemove: "scripts/postrm.sh"
depends:
- "gtk3"
- "libnotify"