fix msty license persistence
This commit is contained in:
parent
f812a1de83
commit
ede0af92cd
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
appimageTools,
|
appimageTools,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
|
makeWrapper,
|
||||||
}: let
|
}: let
|
||||||
pname = "msty";
|
pname = "msty";
|
||||||
version = "1.7";
|
version = "1.7";
|
||||||
@ -14,11 +15,15 @@ in
|
|||||||
appimageTools.wrapType2 {
|
appimageTools.wrapType2 {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
|
|
||||||
|
nativeBuildInputs = [makeWrapper];
|
||||||
|
|
||||||
extraInstallCommands = ''
|
extraInstallCommands = ''
|
||||||
install -m 444 -D ${appimageContents}/msty.desktop -t $out/share/applications
|
install -m 444 -D ${appimageContents}/msty.desktop -t $out/share/applications
|
||||||
substituteInPlace $out/share/applications/msty.desktop \
|
substituteInPlace $out/share/applications/msty.desktop \
|
||||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
install -m 444 -D ${appimageContents}/msty.png \
|
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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user