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` |