update 打包用例/run.sh.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2024-11-07 07:14:18 +00:00
committed by Gitee
parent 6407bf0720
commit 73f28e7c1f

View File

@@ -68,18 +68,18 @@ BOTTLENAME="容器名"
APPVER="版本号"
EXEC_PATH="启动路径"
##### 软件在wine中的启动路径
## Priority Policy: 软件自带>spark-dwine-helper>deepin-wine-helper
SHELL_DIR=$(dirname $(realpath $0))
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh" ## Fallback
if [ -e "/opt/deepinwine/tools/spark_run_v4.sh" ] ;then
START_SHELL_PATH="/opt/deepinwine/tools/spark_run_v4.sh"
fi
## If exist spark dwine helper, then use it as default
if [ -e "$SHELL_DIR/deepinwine/tools/spark_run_v4.sh" ] ;then
# 如果 helper 在 run.sh 相同目录的 deepinwine/tools/spark_run_v4.sh 则可以调用
START_SHELL_PATH="$SHELL_DIR/deepinwine/tools/spark_run_v4.sh"
fi
if [ -e "/opt/deepinwine/tools/run_v4.sh" ] ;then
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
fi
if [ -e "/opt/deepinwine/tools/spark_run_v4.sh" ] ;then
START_SHELL_PATH="/opt/deepinwine/tools/spark_run_v4.sh"
fi
## If
ENABLE_DOT_NET=""
####若使用spark-wine时需要用到.net则请把ENABLE_DOT_NET设为true同时在依赖中写spark-wine7-mono
#export BOX86_EMU_CMD="/opt/spark-box86/box86"