mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Return to default deb after install script
Upstream electron-builder now contains the SUID sandbox change. See also https://github.com/electron-userland/electron-builder/pull/4163
This commit is contained in:
parent
3eb5eb1d21
commit
2c0968e40e
@ -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
|
|
@ -173,9 +173,6 @@
|
|||||||
"StartupWMClass": "riot"
|
"StartupWMClass": "riot"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"deb": {
|
|
||||||
"afterInstall": "electron_app/build/linux/after-install.tpl"
|
|
||||||
},
|
|
||||||
"mac": {
|
"mac": {
|
||||||
"category": "public.app-category.social-networking",
|
"category": "public.app-category.social-networking",
|
||||||
"darkModeSupport": true
|
"darkModeSupport": true
|
||||||
|
Loading…
Reference in New Issue
Block a user