4 # Must hardcode balenaEtcher directory; no variable available
5 ln -sf '/opt/balenaEtcher/${executable}' '/usr/bin/${executable}'
7 # SUID chrome-sandbox for Electron 5+
8 chmod 4755 '/opt/balenaEtcher/chrome-sandbox' || true
10 update-mime-database /usr/share/mime || true
11 update-desktop-database /usr/share/applications || true