diff --git a/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh b/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh index 7cea44861..26249d4a0 100755 --- a/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh +++ b/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh @@ -48,6 +48,31 @@ elif ! bashio::config.has_value 'PASSWORD' && [[ -n "$(bashio::addon.port "3000" bashio::log.warning "You risk being hacked ! Please disable the external ports, or use a password" fi +# Set password +if bashio::config.true 'install_ms_edge'; then + bashio::log.info "Adding microsoft edge" + # Install edge + apt-get update && \ + echo "**** install edge ****" && \ + apt-get install --no-install-recommends -y ca-certificates && \ + if [ -z ${EDGE_VERSION+x} ]; then \ + EDGE_VERSION=$(curl -sL https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/ | \ + awk -F'(/dev/null