Firefox Progressive Web Apps - Installation
Die Installation der PWA-Erweiterung auf ubuntu finde ich etwas unübersichtlich. Deshalb diese Notiz an meiner Pinnwand.
Im Terminal
Vorbereitung für FirefoxPWA-Connector-Installation
sudo apt updatesudo apt install curl gpg apt-transport-httpscurl -fsSL https://packagecloud.io/filips/FirefoxPWA/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/firefoxpwa-keyring.gpg > /dev/nullecho "deb [signed-by=/usr/share/keyrings/firefoxpwa-keyring.gpg] https://packagecloud.io/filips/FirefoxPWA/any any main" | sudo tee /etc/apt/sources.list.d/firefoxpwa.list > /dev/nullsudo apt update
Im Firefox
Add-on installieren:
- https://addons.mozilla.org/de/firefox/addon/pwas-for-firefox/?utmsource=addons.mozilla.org&utmmedium=referral&utm_content=search
- Configseite öffnet sich
- [Lizenz bestätigen]
Im Terminal
Connector installieren:
sudo apt install firefoxpwa
Im Firefox
Fehlermeldung:
[Error: An unexpected error occurred]
Im Terminal
Berechtigung für WebExtention setzen:
Falls Flatpack noch nicht installiert:
sudo apt-get install -y flatpakDann:
flatpak permission-set webextensions firefoxpwa snap.firefox yes
Im Firefox
- Installseite geht zum nächsten Schritt
[Install runtime]klicken, das dauert dann etwas...- Installseite geht zu
[Ready]
Im Terminal
Berechtigung für firefox-pwa einstellen:
sudo nano /etc/apparmor.d/firefox-pwa- Eintragen (my-user-name anpassen):
# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile firefox-pwa
/home/my-user-name/.local/share/firefoxpwa/runtime/{firefox,firefox-bin,updater}
flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/firefox>
}
- Aktivieren:
sudo systemctl restart apparmor.service
Im Friefox
Nun können Webseiten als PWA installiert werden.
Auf Erweiterungen-Icon klicken -> PWA-Erweiterung aufrufen -> Reiter [Apps] -> [Install current site]