Files
tubestation/taskcluster/docker/firefox-flatpak/launch-script.sh
Boudhayan Bhattacharya 2e81c51ccd Bug 1856778 - Fix Firefox app-id on wayland flatpak. r=stransky
Firefox on KDE Plasma Wayland expects the app-id to match the desktop
file name to find the correct icon. The flatpak is a repackage of the
official tarball which sets the app id as "firefox"
(MOZ_APP_REMOTINGNAME) whereas the desktop filename is named by the
$FLATPAK_ID.

So pass --name as the $FLATPAK_ID which simply uses g_set_prgname()
leaving everything else unaffected.

Differential Revision: https://phabricator.services.mozilla.com/D193528
2023-11-24 06:47:49 +00:00

4 lines
108 B
Bash

#!/bin/bash
export TMPDIR=$XDG_CACHE_HOME/tmp
exec /app/lib/firefox/firefox --name org.mozilla.firefox "$@"