mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01: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