mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Do not ask whether firefox is installed as a snap. (#8756)
This commit is contained in:
parent
12be175d58
commit
2dbb29fc85
@ -59,17 +59,7 @@ JSON_CHROME=$(cat << EOF
|
||||
EOF
|
||||
)
|
||||
|
||||
askBrowserSnap() {
|
||||
if (whiptail --title "Snap Choice" --defaultno \
|
||||
--yesno "Is this browser installed as a snap (usually NO)?" 8 60); then
|
||||
# BASE_DIR="$1"
|
||||
whiptail --title "Snap Choice" --msgbox "Sorry, browsers installed as snaps are not supported at this time" 8 50
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
setupFirefox() {
|
||||
askBrowserSnap "./snap/firefox/common"
|
||||
JSON_OUT=${JSON_FIREFOX}
|
||||
INSTALL_DIR="${BASE_DIR}/.mozilla/native-messaging-hosts"
|
||||
}
|
||||
@ -80,7 +70,6 @@ setupChrome() {
|
||||
}
|
||||
|
||||
setupChromium() {
|
||||
askBrowserSnap "./snap/chromium/current"
|
||||
JSON_OUT=${JSON_CHROME}
|
||||
INSTALL_DIR="${BASE_DIR}/.config/chromium/NativeMessagingHosts"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user