Skip to content

Commit 82542a6

Browse files
committed
1 parent 53ff844 commit 82542a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/deb-after-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

33
# Link to the binary
4-
ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}'
4+
ln -sf '/opt/${sanitizedProductName}/${executable}' '/usr/bin/${executable}'
55

66
# SUID chrome-sandbox for Electron 5+
7-
chmod 4755 '/opt/${productFilename}/chrome-sandbox' || true
7+
chmod 4755 '/opt/${sanitizedProductName}/chrome-sandbox' || true
88

99
update-mime-database /usr/share/mime || true
1010
update-desktop-database /usr/share/applications || true

0 commit comments

Comments
 (0)