Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
DataEraserC committed Sep 29, 2023
1 parent 5e5a679 commit 11bd5b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ stdenv.mkDerivation rec {
'';

installPhase = ''
runHook preInstall
_install() {
mkdir -p $out/Appimage
mv Adobe_Illustrator_CS6.AppImage $out/Appimage/
install -Dm644 $icon $out/share/icons/hicolor/48x48/apps/Adobe_Illustrator_CS6.png
makeWrapper ${appimage-run}/bin/appimage-run $out/bin/adobe_illustrator_cs6 \
--argv0 "adobe_illustrator_cs6" \
--add-flags "$out/Appimage/Adobe_Illustrator_CS6.AppImage"
}
_install
runHook postInstall
'';

desktopItems = lib.toList (makeDesktopItem {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ stdenv.mkDerivation rec {
'';

installPhase = ''
runHook preInstall
_install() {
mkdir -p $out/Appimage
mv Adobe_Photoshop_CS6.AppImage $out/Appimage/
install -Dm644 $icon $out/share/icons/hicolor/48x48/apps/Adobe_Photoshop_CS6.png
makeWrapper ${appimage-run}/bin/appimage-run $out/bin/adobe_photoshop_cs6 \
--argv0 "adobe_photoshop_cs6" \
--add-flags "$out/Appimage/Adobe_Photoshop_CS6.AppImage"
}
_install
runHook postInstall
'';

desktopItems = lib.toList (makeDesktopItem {
Expand Down

0 comments on commit 11bd5b8

Please sign in to comment.