stuff
This commit is contained in:
+10
@@ -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
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Delete the link to the binary
|
||||
rm -f '/usr/bin/${executable}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=<%= title %>
|
||||
Comment=<%= comment %>
|
||||
Exec=<%= executable %>
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Reference in New Issue
Block a user