mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2025-06-25 12:01:27 +02:00
silence firefox security nag - develop
This commit is contained in:
parent
78378e94d9
commit
5bd5e095ee
@ -176,6 +176,10 @@ else
|
||||
firefox -headless -CreateProfile "kasm $HOME/.mozilla/firefox/kasm"
|
||||
fi
|
||||
|
||||
# Silence Firefox security nag "Some of Firefox's features may offer less protection on your current operating system"
|
||||
echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js
|
||||
chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js
|
||||
|
||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|rhel9|almalinux9|almalinux8|opensuse|fedora39|fedora40) ]]; then
|
||||
set_desktop_icon
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user