Skip to content

Commit

Permalink
heroic: patch Desktop Entry StartupWMClass (#365460)
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman authored Dec 18, 2024
2 parents 5e9c663 + e47c3d1 commit 3e8ad28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/games/heroic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ stdenv.mkDerivation (finalAttrs: {
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
substituteInPlace "$out/share/heroic/flatpak/com.heroicgameslauncher.hgl.desktop" \
--replace-fail "StartupWMClass=Heroic" "StartupWMClass=heroic" \
--replace-fail "Exec=heroic-run" "Exec=heroic"
mkdir -p "$out/share/applications" "$out/share/icons/hicolor/scalable/apps"
ln -s "$out/share/heroic/flatpak/com.heroicgameslauncher.hgl.desktop" "$out/share/applications"
Expand Down

0 comments on commit 3e8ad28

Please sign in to comment.