## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

## Code duplication. (Un)installation commands are also present in
## live-config-dist/etc/privleap/conf.d/live-config-dist.conf.

[product]
product-name=Firefox
product-category=Browsers
product-website=https://www.mozilla.org/en-US/firefox/new
product-logo=/usr/share/browser-choice/icons/firefox.svg
vendor-name=Mozilla
vendor-website=https://www.mozilla.org
vendor-logo=/usr/share/browser-choice/icons/mozilla.svg
wiki=https://www.kicksecure.com/wiki/Firefox
official-plugin=yes

[repo:debian]
method-name=Firefox ESR from Debian stable repository
method-name-short=Repo (Debian)
method-subtext=Firefox ESR (Extended Stable Release) from packages.debian.org repository. Installed via tool: APT.
method-logo=/usr/share/browser-choice/icons/debian.svg
method-type=apt-firstparty
install-warn-text=
unprivileged-check-script=leaprun --check browser-choice-unprivileged-enabled
update-and-install-script=pkexec bash -c -- 'apt-get-noninteractive update && apt-get-noninteractive --no-install-recommends --yes install firefox-esr'
install-script=pkexec apt-get-noninteractive --no-install-recommends --yes install firefox-esr
uninstall-script=pkexec apt-get-noninteractive --yes remove firefox-esr
purge-script=pkexec apt-get-noninteractive --yes purge firefox-esr
update-and-install-script-unprivileged=leaprun firefox-deb-update-install
install-script-unprivileged=leaprun firefox-deb-install
uninstall-script-unprivileged=leaprun firefox-deb-uninstall
purge-script-unprivileged=leaprun firefox-deb-purge
launch-script=firefox-esr
install-status=/usr/bin/package-installed-check firefox-esr
capability=/usr/libexec/browser-choice/architecture-support-check amd64 arm64 ppc64el

[repo:mozilla]
method-name=Firefox Stable from Mozilla official repository
method-name-short=Repo (Mozilla)
method-subtext=Firefox Stable from packages.mozilla.org repository. Installed via tool: APT.
method-logo=/usr/share/browser-choice/icons/firefox.svg
method-type=apt-thirdparty
install-warn-text=
unprivileged-check-script=leaprun --check browser-choice-unprivileged-enabled
update-and-install-script=
install-script=pkexec bash -c -- '/usr/libexec/browser-choice/qubes-proxy-maybe extrepo enable mozilla && apt-get-noninteractive update && apt-get-noninteractive --no-install-recommends --yes install firefox'
uninstall-script=pkexec apt-get-noninteractive --yes remove firefox
purge-script=pkexec apt-get-noninteractive --yes purge firefox
update-and-install-script-unprivileged=
install-script-unprivileged=leaprun firefox-tpdeb-install
uninstall-script-unprivileged=leaprun firefox-tpdeb-uninstall
purge-script-unprivileged=leaprun firefox-tpdeb-purge
launch-script=firefox
install-status=/usr/bin/package-installed-check firefox
capability=/usr/libexec/browser-choice/architecture-support-check amd64

[repo:flathub]
method-name=Firefox Stable from Flathub repository
method-name-short=Flatpak (Mozilla)
method-subtext=Firefox Stable from flathub.org repository. Installed via tool: Flatpak.
method-logo=/usr/share/browser-choice/icons/flatpak.svg
method-type=flathub
install-warn-text=
unprivileged-check-script=leaprun --check browser-choice-unprivileged-enabled
update-and-install-script=
install-script=pkexec /usr/libexec/browser-choice/qubes-proxy-maybe flatpak install --assumeyes flathub org.mozilla.firefox
uninstall-script=pkexec flatpak uninstall --assumeyes org.mozilla.firefox
purge-script=
update-and-install-script-unprivileged=
install-script-unprivileged=leaprun firefox-flathub-install
uninstall-script-unprivileged=leaprun firefox-flathub-uninstall
purge-script-unprivileged=
launch-script=flatpak run org.mozilla.firefox
install-status=flatpak info org.mozilla.firefox
capability=/usr/libexec/browser-choice/architecture-support-check amd64 arm64
