added StartupWMClass for desktop files

This commit is contained in:
Mikhail Tergoev
2025-09-17 12:36:04 +03:00
parent 148a7dbfce
commit 3100475b1e
2 changed files with 3 additions and 0 deletions

View File

@@ -617,6 +617,7 @@ create_desktop () {
echo "StartupNotify=true"
echo "Path=$DATA_PATH"
echo "Icon=$icon_file"
echo "StartupWMClass=$(basename "$exe_file")"
} > "$USER_WORK_PATH/$desktop_filename.desktop"
chmod +x "$USER_WORK_PATH/$desktop_filename.desktop"

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=WineHelper
Exec=winehelper gui %F
@@ -7,3 +8,4 @@ Type=Application
Categories=WineHelper;Utility;Emulator;
StartupNotify=true
Icon=winehelper
StartupWMClass=winehelper