diff --git a/create-package-canary.sh b/create-package-canary.sh index 5331eca..e024f2a 100755 --- a/create-package-canary.sh +++ b/create-package-canary.sh @@ -124,7 +124,7 @@ echo " Icon: $icon_name" echo 'Creating .desktop file...' -sed "s/_version/$version_number/; s/_icon/$icon_name/" "$desktop_model" > "$desktop_file" +sed "s/_version/$version_number/; s/_icon/$icon_name/; s/_exe/DiscordCanary/" "$desktop_model" > "$desktop_file" echo 'Creating the RPM package (this may take a while)...' diff --git a/create-package-stable.sh b/create-package-stable.sh index 5e1d64b..f61c4de 100755 --- a/create-package-stable.sh +++ b/create-package-stable.sh @@ -124,7 +124,7 @@ echo " Icon: $icon_name" echo 'Creating .desktop file...' -sed "s/_version/$version_number/; s/_icon/$icon_name/" "$desktop_model" > "$desktop_file" +sed "s/_version/$version_number/; s/_icon/$icon_name/; s/_exe/Discord/" "$desktop_model" > "$desktop_file" echo 'Creating the RPM package (this may take a while)...' diff --git a/discord.desktop b/discord.desktop index 0dcb514..ea5ba42 100644 --- a/discord.desktop +++ b/discord.desktop @@ -1,10 +1,12 @@ [Desktop Entry] -Version=_version -Type=Application Name=Discord -Icon=/opt/discord/_icon -Exec=/opt/discord/DiscordCanary Comment=Free voice and text chat for gamers -Categories=Communication;Internet; +StartupWMClass=discord +Version=_version +Icon=/opt/discord/_icon +Exec=/opt/discord/_exe +Type=Application Terminal=false +StartupNotify=true +Categories=Network;InstantMessaging;