arduino-ide: move icon to spec-compliant location (#486037)

This commit is contained in:
dish
2026-02-13 19:34:49 +00:00
committed by GitHub
+3 -3
View File
@@ -19,9 +19,9 @@ appimageTools.wrapType2 {
inherit pname version src;
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'
install -Dm444 ${appimageContents}/arduino-ide.desktop -t $out/share/applications/
install -Dm444 ${appimageContents}/arduino-ide.png -t $out/share/icons/hicolor/512x512/apps
substituteInPlace $out/share/applications/arduino-ide.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=arduino-ide %U'
'';
extraPkgs = pkgs: [ pkgs.libsecret ];