stuff
This commit is contained in:
10
buildfiles/node_modules/app-builder-lib/templates/linux/after-install.tpl
generated
vendored
Normal file
10
buildfiles/node_modules/app-builder-lib/templates/linux/after-install.tpl
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 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
|
4
buildfiles/node_modules/app-builder-lib/templates/linux/after-remove.tpl
generated
vendored
Normal file
4
buildfiles/node_modules/app-builder-lib/templates/linux/after-remove.tpl
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Delete the link to the binary
|
||||
rm -f '/usr/bin/${executable}'
|
6
buildfiles/node_modules/app-builder-lib/templates/linux/desktop.tpl
generated
vendored
Normal file
6
buildfiles/node_modules/app-builder-lib/templates/linux/desktop.tpl
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=<%= title %>
|
||||
Comment=<%= comment %>
|
||||
Exec=<%= executable %>
|
||||
Terminal=false
|
||||
Type=Application
|
Reference in New Issue
Block a user