tetrio-desktop: fix StartupWMClass for Wayland dock icon matching (#515316)

This commit is contained in:
Alexis Hildebrandt
2026-06-11 06:52:01 +00:00
committed by GitHub
+2 -1
View File
@@ -75,7 +75,8 @@ stdenv.mkDerivation {
cp ${asarPath} $out/share/TETR.IO/app.asar
substituteInPlace $out/share/applications/TETR.IO.desktop \
--replace-fail "Exec=/opt/TETR.IO/TETR.IO" "Exec=$out/bin/tetrio"
--replace-fail "Exec=/opt/TETR.IO/TETR.IO" "Exec=$out/bin/tetrio" \
--replace-fail "StartupWMClass=TETR.IO" "StartupWMClass=tetrio-desktop"
runHook postInstall
'';