forked from CastroFidel/winehelper
added StartupWMClass for desktop files
This commit is contained in:
@@ -617,6 +617,7 @@ create_desktop () {
|
|||||||
echo "StartupNotify=true"
|
echo "StartupNotify=true"
|
||||||
echo "Path=$DATA_PATH"
|
echo "Path=$DATA_PATH"
|
||||||
echo "Icon=$icon_file"
|
echo "Icon=$icon_file"
|
||||||
|
echo "StartupWMClass=$(basename "$exe_file")"
|
||||||
} > "$USER_WORK_PATH/$desktop_filename.desktop"
|
} > "$USER_WORK_PATH/$desktop_filename.desktop"
|
||||||
chmod +x "$USER_WORK_PATH/$desktop_filename.desktop"
|
chmod +x "$USER_WORK_PATH/$desktop_filename.desktop"
|
||||||
|
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env xdg-open
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=WineHelper
|
Name=WineHelper
|
||||||
Exec=winehelper gui %F
|
Exec=winehelper gui %F
|
||||||
@@ -7,3 +8,4 @@ Type=Application
|
|||||||
Categories=WineHelper;Utility;Emulator;
|
Categories=WineHelper;Utility;Emulator;
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Icon=winehelper
|
Icon=winehelper
|
||||||
|
StartupWMClass=winehelper
|
||||||
|
Reference in New Issue
Block a user