diff --git a/electron-builder.yml b/electron-builder.yml index 858440a5..e1c3f27f 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -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" diff --git a/scripts/debian-postinst.sh b/scripts/postinst.sh similarity index 100% rename from scripts/debian-postinst.sh rename to scripts/postinst.sh diff --git a/scripts/debian-postrm.sh b/scripts/postrm.sh similarity index 100% rename from scripts/debian-postrm.sh rename to scripts/postrm.sh