X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/67e839b9f2a7bc66cff31621047b0e0c5b652d87..faa0e46d3a10c1aef321ac024a7cb1dc86ee08d4:/INSTALL/tool/WebDeepin.sh diff --git a/INSTALL/tool/WebDeepin.sh b/INSTALL/tool/WebDeepin.sh index 6c408e2..b37f394 100644 --- a/INSTALL/tool/WebDeepin.sh +++ b/INSTALL/tool/WebDeepin.sh @@ -3,6 +3,18 @@ LOGFILE=log.txt VUSER=$(get_user) +if which browser >/dev/null 2>&1; then + : +else + if [ "$LANG" = "zh_CN.UTF-8" ]; then + echo " Built-in browser not found in the system, please use VentoyWeb.sh ..." + else + echo " 未找到系统内置的 browser (卸载了?)请使用 VentoyWeb.sh ..." + fi + exit 1 +fi + + if [ -e $LOGFILE ]; then chown $VUSER $LOGFILE else