arduino-ide: Fix .desktop file

This commit is contained in:
caeklol 2024-05-11 00:48:03 +08:00
parent 8c810f6f55
commit 5c8f30b56e

View File

@ -20,6 +20,7 @@ appimageTools.wrapType2 {
extraInstallCommands = ''
install -Dm444 ${appimageContents}/${pname}.desktop -t $out/share/applications/
install -Dm444 ${appimageContents}/${pname}.png -t $out/share/pixmaps/
substituteInPlace $out/share/applications/${pname}.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U'
'';
extraPkgs = pkgs: with pkgs; [ libsecret ];