Revert "build: 去掉GUI"

This reverts commit e5217f2901.
main
huangfeng 8 months ago
parent 9443aadbc4
commit 9287c067ac

@ -299,6 +299,10 @@ updateFirewall(){
sed -i 's/\r//g' setup.ini
source setup.ini
if [ $GUI_INS == 1 ]; then
./prelib.sh
fi
if [ $CAC_INS == 1 ]; then
if [ $JDK_INS == 0 ]; then
JAVA_PATH=$(which java)
@ -341,6 +345,13 @@ if [ $CAC_INS == 1 ]; then
fi
fi
if [ $GUI_INS == 1 ]; then
install61850
if [ $AUTO_START == 1 ]; then
setAutoStart61850
fi
fi
if [ $NGINX_INS == 1 ]; then
installNginx
setAutoStartNginx

@ -17,6 +17,9 @@ CAC_INS=1
### CAC是否加入开机启动 ###
AUTO_START=1
### 是否安装61850 ###
GUI_INS=0
### 是否安装自带的JDK ###
JDK_INS=1

Loading…
Cancel
Save