if [[ -n "$CHROME_CONFIG_HOME" ]]; then
    DIRArr[0]="$CHROME_CONFIG_HOME/$browser"
else
    DIRArr[0]="$XDG_CONFIG_HOME/$browser"
fi
PSNAME="chrome"

# Armbian: skip the browser when it is not installed, unless psd holds its
# directory (symlink or backup), so that psd still restores it. Omarchy creates
# these directories for its extension hosts, for browsers that are not installed.
if ! command -v google-chrome-beta >/dev/null 2>&1 && [[ ! -h "${DIRArr[0]}" && ! -d "${DIRArr[0]}-backup" ]]; then
    DIRArr=()
fi
