"mmdet3d/vscode:/vscode.git/clone" did not exist on "70980ad64d25dfdd627ad1c60247ff95b38265b0"
Commit c02a6955 authored by longpanda's avatar longpanda
Browse files

Add check for the built-in browser in WebDeepin.sh

parent 6b78603d
...@@ -3,6 +3,18 @@ ...@@ -3,6 +3,18 @@
LOGFILE=log.txt LOGFILE=log.txt
VUSER=$(get_user) 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 if [ -e $LOGFILE ]; then
chown $VUSER $LOGFILE chown $VUSER $LOGFILE
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment