try to fix grapejuice package

This commit is contained in:
Sakooooo 2023-09-03 12:46:19 +04:00
parent a1525073e7
commit cdb7f5c714
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 4 additions and 2 deletions

View file

@ -44,7 +44,7 @@
wine.enable = true;
lutris.enable = true;
steam.enable = true;
grapejuice.enable = false;
grapejuice.enable = true;
};
media = {
gimp.enable = true;

View file

@ -89,8 +89,10 @@ python3Packages.buildPythonApplication rec {
'';
postInstall = ''
mkdir -p "$out/share/icons" "$out/share/applications" "$out/share/mime/packages"
mkdir -p "$out/share/icons" "$out/share/applications" "$out/share/mime/packages" "$out/bin"
cp -r src/grapejuice_common/assets/desktop/* $out/share/applications/
cp -r src/grapejuice_packaging/packaging_resources/bin/* $out/bin
chmod +x $out/bin/*
cp -r src/grapejuice_common/assets/icons $out/share/
cp src/grapejuice_common/assets/mime_xml/*.xml $out/share/mime/packages/