From 5e5a6792908b77306e5c44e6c6700ab3d1e32dd7 Mon Sep 17 00:00:00 2001 From: DataEraserC <102341238+DataEraserC@users.noreply.github.com> Date: Fri, 29 Sep 2023 19:01:57 +0800 Subject: [PATCH] Revert to old Phase --- .../Adobe_Illustrator_CS6_appImage.nix | 7 +++---- .../Adobe_Photoshop_CS6_appimage.nix | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/Adobe_Illustrator_CS6_appimage/Adobe_Illustrator_CS6_appImage.nix b/pkgs/Adobe_Illustrator_CS6_appimage/Adobe_Illustrator_CS6_appImage.nix index b7f23ee..2744898 100644 --- a/pkgs/Adobe_Illustrator_CS6_appimage/Adobe_Illustrator_CS6_appImage.nix +++ b/pkgs/Adobe_Illustrator_CS6_appimage/Adobe_Illustrator_CS6_appImage.nix @@ -24,12 +24,11 @@ stdenv.mkDerivation rec { installPhase = '' _install() { - mkdir -p $out/{bin,lib/AppImage} - mv Adobe_Illustrator_CS6.AppImage $out/lib/AppImage/ - install -Dm644 $icon $out/share/icons/hicolor/48x48/apps/Adobe_Illustrator_CS6.png + mkdir -p $out/Appimage + mv Adobe_Illustrator_CS6.AppImage $out/Appimage/ makeWrapper ${appimage-run}/bin/appimage-run $out/bin/adobe_illustrator_cs6 \ --argv0 "adobe_illustrator_cs6" \ - --add-flags "$out/lib/AppImage/Adobe_Illustrator_CS6.AppImage" + --add-flags "$out/Appimage/Adobe_Illustrator_CS6.AppImage" } _install ''; diff --git a/pkgs/Adobe_Photoshop_CS6_appimage/Adobe_Photoshop_CS6_appimage.nix b/pkgs/Adobe_Photoshop_CS6_appimage/Adobe_Photoshop_CS6_appimage.nix index ae72768..b377a11 100644 --- a/pkgs/Adobe_Photoshop_CS6_appimage/Adobe_Photoshop_CS6_appimage.nix +++ b/pkgs/Adobe_Photoshop_CS6_appimage/Adobe_Photoshop_CS6_appimage.nix @@ -24,12 +24,11 @@ stdenv.mkDerivation rec { installPhase = '' _install() { - mkdir -p $out/{bin,lib/AppImage} - mv Adobe_Photoshop_CS6.AppImage $out/lib/AppImage/ - install -Dm644 $icon $out/share/icons/hicolor/48x48/apps/Adobe_Photoshop_CS6.png + mkdir -p $out/Appimage + mv Adobe_Photoshop_CS6.AppImage $out/Appimage/ makeWrapper ${appimage-run}/bin/appimage-run $out/bin/adobe_photoshop_cs6 \ --argv0 "adobe_photoshop_cs6" \ - --add-flags "$out/lib/AppImage/Adobe_Photoshop_CS6.AppImage" + --add-flags "$out/Appimage/Adobe_Photoshop_CS6.AppImage" } _install '';