forked from mirrors/nixpkgs
Merge pull request #200728 from prusnak/trezor-suite
trezor-suite: fix build
This commit is contained in:
commit
1b8195d2e8
|
@ -42,8 +42,7 @@ appimageTools.wrapType2 rec {
|
||||||
cp -a ${appimageContents}/resources/images/ $out/share/${pname}/resources
|
cp -a ${appimageContents}/resources/images/ $out/share/${pname}/resources
|
||||||
|
|
||||||
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
||||||
install -m 444 -D ${appimageContents}/${pname}.png $out/share/icons/hicolor/512x512/apps/${pname}.png
|
install -m 444 -D ${appimageContents}/resources/images/desktop/512x512.png $out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||||
install -m 444 -D ${appimageContents}/resources/images/icons/512x512.png $out/share/icons/hicolor/512x512/apps/${pname}.png
|
|
||||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||||
--replace 'Exec=AppRun --no-sandbox %U' 'Exec=${pname}'
|
--replace 'Exec=AppRun --no-sandbox %U' 'Exec=${pname}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue