jan: 0.4.10 -> 0.4.11

This commit is contained in:
Pol Dellaiera 2024-04-19 11:21:56 +02:00
parent 65cd13090f
commit 4913b78e35
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
1 changed files with 3 additions and 3 deletions

View File

@ -5,10 +5,10 @@
let
pname = "jan";
version = "0.4.10";
version = "0.4.11";
src = fetchurl {
url = "https://github.com/janhq/jan/releases/download/v${version}/jan-linux-x86_64-${version}.AppImage";
hash = "sha256-IOqwz3pJ4veuxQwfkMs0Zf8dNQcQ0HwnR3SPBVvQXtU=";
hash = "sha256-EDQK8W0MxwXSNaHx2snByHs2Wr3RXtlNiXajzDMVJpc=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
@ -20,7 +20,7 @@ appimageTools.wrapType2 {
mv $out/bin/jan-${version} $out/bin/jan
install -Dm444 ${appimageContents}/jan.desktop -t $out/share/applications
substituteInPlace $out/share/applications/jan.desktop \
--replace 'Exec=AppRun --no-sandbox %U' 'Exec=jan'
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=jan'
cp -r ${appimageContents}/usr/share/icons $out/share
'';