This document describes how to use FUSE OverlayFS to link your global Firefox installation with the PWAsForFirefox runtime.
- Your OS uses systemd.
- Firefox is installed (without Snap or Flatpak).
| # !/bin/bash | |
| # Reference: https://copr.fedorainfracloud.org/coprs/principis/howdy/ | |
| # sudo required | |
| if ! [ $(id -u) = 0 ]; then | |
| echo "Root privilege is needed. Please rerun the script as root." >&2 | |
| exit 1 | |
| fi | |
| SUDO_CFG="/etc/pam.d/sudo" |
| #!/bin/sh | |
| if test $# -lt 1 ; then | |
| echo "Usage: download_apk.sh <GooglePlayPackageName>" | |
| exit 1 | |
| fi | |
| PACKAGE=$1 | |
| APK_PATH=`adb shell pm list packages -f -3 | grep $PACKAGE | cut -d'=' -f 1 | cut -c9-` | |
| echo "Pulling $APK_PATH from device" | |
| echo `adb pull ${APK_PATH} ./${PACKAGE}.apk` |
| { | |
| ".123" : "application/vnd.lotus-1-2-3", | |
| ".3dml" : "text/vnd.in3d.3dml", | |
| ".3g2" : "video/3gpp2", | |
| ".3gp" : "video/3gpp", | |
| ".a" : "application/octet-stream", | |
| ".aab" : "application/x-authorware-bin", | |
| ".aac" : "audio/x-aac", | |
| ".aam" : "application/x-authorware-map", | |
| ".aas" : "application/x-authorware-seg", |