Commit 05cab913 authored by Leo's avatar Leo Committed by Rasmus Thomsen
Browse files

community/firefox: add StartupWMClass=firefox to the .desktop entries

parent b4ec14e8
Pipeline #28928 failed with stages
in 1 minute and 11 seconds
......@@ -5,7 +5,7 @@ pkgname=firefox
pkgver=78.0.2
# Date of release, YY-MM-DD for metainfo file (see package())
_releasedate=2020-07-08
pkgrel=0
pkgrel=1
pkgdesc="Firefox web browser"
url="https://www.firefox.com/"
# Limited on:
......@@ -282,6 +282,13 @@ package() {
install -m644 "$srcdir"/firefox.desktop "$pkgdir"/usr/share/applications/org.mozilla.firefox.desktop
install -m644 "$srcdir"/firefox-safe.desktop "$pkgdir"/usr/share/applications/org.mozilla.firefox-safe.desktop
# Add StartupWMClass=firefox on the .desktop files so Desktop Environments
# correctly associate the window with their icon, the correct fix is to have
# firefox sets its own AppID but this will work for the meantime
# See: https://bugzilla.mozilla.org/show_bug.cgi?id=1607399
echo "StartupWMClass=firefox" >> "$pkgdir"/usr/share/applications/org.mozilla.firefox.desktop
echo "StartupWMClass=firefox" >> "$pkgdir"/usr/share/applications/org.mozilla.firefox-safe.desktop
# install our vendor prefs
install -d "$pkgdir"/$_mozappdir/browser/defaults/preferences
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment