This commit is contained in:
vinceliuice 2023-05-11 21:26:20 +08:00
parent b410d55d57
commit cf09aab9d9

View file

@ -695,9 +695,9 @@ install_firefox_theme() {
}
config_firefox() {
# if has_snap_app firefox; then
# local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}"
# local FIREFOX_DIR="${FIREFOX_SNAP_DIR_HOME}"
if has_snap_app firefox; then
local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}"
local FIREFOX_DIR="${FIREFOX_SNAP_DIR_HOME}"
if has_flatpak_app org.mozilla.firefox; then
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
local FIREFOX_DIR="${FIREFOX_FLATPAK_DIR_HOME}"
@ -723,8 +723,8 @@ config_firefox() {
}
edit_firefox_theme_prefs() {
# if has_snap_app firefox; then
# local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}"
if has_snap_app firefox; then
local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}"
if has_flatpak_app org.mozilla.firefox; then
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
else