From 73f28e7c1fa2791710705dc2475c6be8d574490f Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 7 Nov 2024 07:14:18 +0000 Subject: [PATCH] =?UTF-8?q?update=20=E6=89=93=E5=8C=85=E7=94=A8=E4=BE=8B/r?= =?UTF-8?q?un.sh.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shenmo --- 打包用例/run.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/打包用例/run.sh b/打包用例/run.sh index 5fd06c9..3138c6d 100755 --- a/打包用例/run.sh +++ b/打包用例/run.sh @@ -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"