[fix]修改脚本里的energyhub

This commit is contained in:
shijianquan 2025-07-04 17:58:48 +08:00
parent 8529e2c603
commit bdc026b45b

View File

@ -9,7 +9,7 @@ fi
#当前的安装包运行目录
initfile=$(dirname "$(dirname "$(readlink -f "$0")")")
#安装目录
INSTALL_DIR="/opt/EnergyHub"
INSTALL_DIR="/opt/SPMS"
#debug or release
SETUP_DEBUG_RELEASE=debug
#安装平台 centos 、openeuler
@ -133,7 +133,7 @@ if [ "kylin10d" = "$OS_DEFINE" ]; then
fi
elif [ "oe2203" = "$OS_DEFINE" ]; then
elif [ "oe2203" = "$OS_DEFINE" ] || [ "oe2203_aarch64" = "$OS_DEFINE" ]; then
echo "INFO:openEuler need to select db-service"
@ -309,7 +309,7 @@ if [ -n "$sh_files" ]; then
done
fi
app_name="EnergyHub"
app_name="SPMS"
exec_command="$(dirname "$script_path")/product/$BIN_DIR_VER/workBench"
# 创建.desktop文件
sudo -k