diff --git a/webtop_kde/rootfs/usr/bin/microsoft-edge b/webtop_kde/rootfs/usr/bin/microsoft-edge new file mode 100644 index 00000000000..73c5f8a879d --- /dev/null +++ b/webtop_kde/rootfs/usr/bin/microsoft-edge @@ -0,0 +1,16 @@ +#! /bin/bash + +BIN=/usr/bin/microsoft-edge-real + +# Run normally on privved containers or modified un non priv +if grep -q 'Seccomp:.0' /proc/1/status; then + ${BIN} \ + --password-store=basic \ + "$@" > /dev/null 2>&1 +else + ${BIN} \ + --password-store=basic \ + --no-sandbox \ + --test-type \ + "$@" > /dev/null 2>&1 +fi