jan: 0.5.17 -> 0.6.5 (#424117)

* jan: 0.5.17 -> 0.6.4

* Apply suggestions from code review

Co-authored-by: turtton <tiny.idea1859@turtton.net>

---------

Co-authored-by: turtton <tiny.idea1859@turtton.net>
This commit is contained in:
Luna Spirito
2025-07-24 20:08:43 +02:00
committed by GitHub
co-authored by turtton
parent 377a64e697
commit 27de43f766
+5 -7
View File
@@ -5,11 +5,11 @@
}:
let
pname = "jan";
version = "0.5.17";
pname = "Jan";
version = "0.6.5";
src = fetchurl {
url = "https://github.com/janhq/jan/releases/download/v${version}/jan-linux-x86_64-${version}.AppImage";
hash = "sha256-Gvjkq4GWC7aYDrlTF7496C5IlcT+vzU+soumrVwux/I=";
url = "https://github.com/janhq/jan/releases/download/v${version}/Jan_${version}_amd64.AppImage";
hash = "sha256-0JRaefi8mUGoy63BbPa2C8EE/7/TGSsP1VmmWh7Lsko=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
@@ -18,9 +18,7 @@ appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${appimageContents}/jan.desktop -t $out/share/applications
substituteInPlace $out/share/applications/jan.desktop \
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=jan'
install -Dm444 ${appimageContents}/Jan.desktop -t $out/share/applications
cp -r ${appimageContents}/usr/share/icons $out/share
'';