Create microsoft-edge

This commit is contained in:
Alexandre
2025-01-28 15:58:49 +01:00
committed by GitHub
parent 92bec2b67a
commit e3b73daf3a

View File

@@ -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