electron-builder patch: remove chmod for chrome-sandbox
This commit is contained in:
parent
25b0b308d2
commit
b8a674bbb6
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
diff --git a/node_modules/app-builder-lib/out/targets/ArchiveTarget.js b/node_modules/app-builder-lib/out/targets/ArchiveTarget.js
|
||||
index 72a59df..ba57ef5 100644
|
||||
index 72a59df..0a9a8b8 100644
|
||||
--- a/node_modules/app-builder-lib/out/targets/ArchiveTarget.js
|
||||
+++ b/node_modules/app-builder-lib/out/targets/ArchiveTarget.js
|
||||
@@ -118,10 +118,6 @@ class ArchiveTarget extends _core().Target {
|
||||
|
@ -26,3 +26,16 @@ index 6e674b9..8e5be4f 100644
|
|||
}
|
||||
|
||||
const desktopMeta = Object.assign(Object.assign({
|
||||
diff --git a/node_modules/app-builder-lib/templates/linux/after-install.tpl b/node_modules/app-builder-lib/templates/linux/after-install.tpl
|
||||
index 16eab30..0077182 100644
|
||||
--- a/node_modules/app-builder-lib/templates/linux/after-install.tpl
|
||||
+++ b/node_modules/app-builder-lib/templates/linux/after-install.tpl
|
||||
@@ -3,8 +3,5 @@
|
||||
# Link to the binary
|
||||
ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}'
|
||||
|
||||
-# SUID chrome-sandbox for Electron 5+
|
||||
-chmod 4755 '/opt/${productFilename}/chrome-sandbox' || true
|
||||
-
|
||||
update-mime-database /usr/share/mime || true
|
||||
update-desktop-database /usr/share/applications || true
|
||||
|
|
Loading…
Add table
Reference in a new issue