mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Port 2c0968e40e
from riot-web
This commit is contained in:
parent
3716545085
commit
a13fb235c9
@ -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
|
|
@ -69,7 +69,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"deb": {
|
"deb": {
|
||||||
"afterInstall": "build/linux/after-install.tpl",
|
|
||||||
"fpm": [
|
"fpm": [
|
||||||
"--deb-custom-control=pkg/control"
|
"--deb-custom-control=pkg/control"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user