From a13fb235c976a2047f8e73328425dcd91d6089fe Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 17 Feb 2020 09:57:48 +0000 Subject: [PATCH] Port https://github.com/vector-im/riot-web/commit/2c0968e40e62564b373c34b7146aaeb6091a6220 from riot-web --- build/linux/after-install.tpl | 14 -------------- package.json | 1 - 2 files changed, 15 deletions(-) delete mode 100644 build/linux/after-install.tpl diff --git a/build/linux/after-install.tpl b/build/linux/after-install.tpl deleted file mode 100644 index 6ee772d..0000000 --- a/build/linux/after-install.tpl +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -# Link to the binary -ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}' - -# SUID chrome-sandbox for Electron 5+ -# Remove this entire file (after-install.tpl) and remove the reference in -# package.json once this change has been upstreamed so we go back to the copy -# from upstream. -# https://github.com/electron-userland/electron-builder/pull/4163 -chmod 4755 '/opt/${productFilename}/chrome-sandbox' || true - -update-mime-database /usr/share/mime || true -update-desktop-database /usr/share/applications || true diff --git a/package.json b/package.json index 9248efb..42ae5ba 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,6 @@ } }, "deb": { - "afterInstall": "build/linux/after-install.tpl", "fpm": [ "--deb-custom-control=pkg/control" ]