Merge pull request #275065 from SuperSandro2000/zapzap

zapzap: fix double wrapping, install icon in correct directory
This commit is contained in:
Weijia Wang 2023-12-19 00:02:51 +01:00 committed by GitHub
commit 8fef7de222
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,12 @@ python3Packages.buildPythonApplication rec {
postInstall = ''
install -Dm555 share/applications/com.rtosta.zapzap.desktop -t $out/share/applications/
install -Dm555 share/icons/com.rtosta.zapzap.svg -t $out/share/icons/hicolor/scalable/
install -Dm555 share/icons/com.rtosta.zapzap.svg -t $out/share/icons/hicolor/scalable/apps/
'';
dontWrapQtApps = true;
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
# has no tests