mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
archon-lite: 9.4.36 -> 9.5.0
This commit is contained in:
@@ -7,23 +7,22 @@
|
||||
|
||||
appimageTools.wrapType2 (finalAttrs: {
|
||||
pname = "archon-lite";
|
||||
version = "9.4.36";
|
||||
version = "9.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/RPGLogs/Uploaders-archon-lite/releases/download/v${finalAttrs.version}/archon-lite-v${finalAttrs.version}.AppImage";
|
||||
hash = "sha256-th48nSDIi2iugtiqjgkI7/QZtBq+BRQjRs1pKweDArI=";
|
||||
hash = "sha256-ZuALgVtqsYtvnSq8hkJL4A+i4UaEpk+2L3bpSEXrhRM=";
|
||||
};
|
||||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share/applications
|
||||
mkdir -p $out/share/icons/hicolor/512x512/apps
|
||||
cp -r ${finalAttrs.contents}/usr/share/icons/hicolor/512x512/apps/'Archon App Lite.png' $out/share/icons/hicolor/512x512/apps/archon-lite.png
|
||||
cp -r ${finalAttrs.contents}/usr/share/icons/hicolor/512x512/apps/archon-lite.png $out/share/icons/hicolor/512x512/apps/archon-lite.png
|
||||
chmod -R +w $out/share/
|
||||
test ! -e $out/share/icons/hicolor/0x0 # check for regression of https://github.com/electron-userland/electron-builder/issues/5294
|
||||
cp ${finalAttrs.contents}/'Archon App Lite.desktop' $out/share/applications/archon-lite.desktop
|
||||
cp ${finalAttrs.contents}/archon-lite.desktop $out/share/applications/archon-lite.desktop
|
||||
substituteInPlace $out/share/applications/archon-lite.desktop \
|
||||
--replace-fail "Exec=AppRun --no-sandbox" "Exec=archon-lite" \
|
||||
--replace-fail "Icon=Archon App Lite" "Icon=archon-lite"
|
||||
--replace-fail "Exec=AppRun --no-sandbox" "Exec=archon-lite"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
Reference in New Issue
Block a user