msty fix licensing

This commit is contained in:
m3tam3re
2025-03-04 14:54:59 +01:00
parent ede0af92cd
commit c0e8cfd773
3 changed files with 7 additions and 8 deletions

View File

@ -5,7 +5,6 @@
}: let
pname = "msty";
version = "1.7";
src = fetchurl {
url = "https://assets.msty.app/prod/latest/linux/amd64/Msty_x86_64_amd64.AppImage";
sha256 = "sha256-k6hcT7Dp53e4zWXXJhsonNlfOwCLIOo/kz8FcDq8OKo=";
@ -20,10 +19,10 @@ in
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/msty.desktop -t $out/share/applications
substituteInPlace $out/share/applications/msty.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
--replace 'Exec=AppRun' 'Exec=${pname}'
install -m 444 -D ${appimageContents}/msty.png \
$out/share/icons/hicolor/256x256/apps/msty.png
$out/share/icons/hicolor/256x256/apps/msty.png
wrapProgram $out/bin/${pname} \
--set XDG_CURRENT_DESKTOP GNOME
--set XDG_CURRENT_DESKTOP GNOME
'';
}