「M」将安装目录改为HMEnergy

This commit is contained in:
shijianquan 2025-08-18 17:22:53 +08:00
parent 8445fae81c
commit 406484344d

View File

@ -9,7 +9,7 @@ fi
#当前的安装包运行目录 #当前的安装包运行目录
initfile=$(dirname "$(dirname "$(readlink -f "$0")")") initfile=$(dirname "$(dirname "$(readlink -f "$0")")")
#安装目录 #安装目录
INSTALL_DIR="/opt/SPMS" INSTALL_DIR="/opt/HMEnergy"
#debug or release #debug or release
SETUP_DEBUG_RELEASE=debug SETUP_DEBUG_RELEASE=debug
#安装平台 centos 、openeuler #安装平台 centos 、openeuler
@ -309,7 +309,7 @@ if [ -n "$sh_files" ]; then
done done
fi fi
app_name="SPMS" app_name="HMEnergy"
exec_command="$(dirname "$script_path")/product/$BIN_DIR_VER/workBench" exec_command="$(dirname "$script_path")/product/$BIN_DIR_VER/workBench"
# 创建.desktop文件 # 创建.desktop文件
sudo -k sudo -k