⬆️ Archon upgrade #5

Merged
wymiller merged 2 commits from archon-upgrade into master 2026-08-09 14:40:34 -05:00
+7 -4
View File
@@ -1,11 +1,11 @@
{ pkgs }: { pkgs }:
let let
pname = "archon"; pname = "archon";
version = "9.3.119"; version = "9.5.8";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/RPGLogs/Uploaders-archon/releases/download/v${version}/${pname}-v${version}.AppImage"; url = "https://github.com/RPGLogs/Uploaders-archon/releases/download/v${version}/${pname}-v${version}.AppImage";
hash = "sha256-mUsmaIxm3DZ1vvcwxpmDTWTj+UlFSv+jYkBrteL8xQk="; hash = "sha256-tEMfDK0BCBvNWFlA78FKWcOvU1wzIorBM4ZmLQ+6hzU=";
}; };
appimageContents = pkgs.appimageTools.extract { appimageContents = pkgs.appimageTools.extract {
@@ -17,8 +17,11 @@ pkgs.appimageTools.wrapType2 {
nativeBuildInputs = with pkgs; [ makeWrapper ]; nativeBuildInputs = with pkgs; [ makeWrapper ];
extraInstallCommands = '' extraInstallCommands = ''
install -Dm444 "${appimageContents}/Archon App.desktop" "$out/share/applications/archon.desktop" install -Dm444 "${appimageContents}/archon.desktop" "$out/share/applications/archon.desktop"
install -Dm444 "${appimageContents}/Archon App.png" "$out/share/icons/hicolor/256x256/apps/archon.png" install -Dm444 "${appimageContents}/archon.png" "$out/share/icons/hicolor/512x512/apps/archon.png"
substituteInPlace "$out/share/applications/archon.desktop" \
--replace-fail "Exec=AppRun --no-sandbox %U" "Exec=archon --no-sandbox %U"
''; '';
meta = with pkgs.lib; { meta = with pkgs.lib; {