mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Create microsoft-edge
This commit is contained in:
16
webtop_kde/rootfs/usr/bin/microsoft-edge
Normal file
16
webtop_kde/rootfs/usr/bin/microsoft-edge
Normal 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
|
||||||
Reference in New Issue
Block a user