mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2026-06-22 06:03:52 +08:00
+7
-7
@@ -68,18 +68,18 @@ BOTTLENAME="容器名"
|
|||||||
APPVER="版本号"
|
APPVER="版本号"
|
||||||
EXEC_PATH="启动路径"
|
EXEC_PATH="启动路径"
|
||||||
##### 软件在wine中的启动路径
|
##### 软件在wine中的启动路径
|
||||||
|
## Priority Policy: 软件自带>spark-dwine-helper>deepin-wine-helper
|
||||||
SHELL_DIR=$(dirname $(realpath $0))
|
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
|
if [ -e "$SHELL_DIR/deepinwine/tools/spark_run_v4.sh" ] ;then
|
||||||
# 如果 helper 在 run.sh 相同目录的 deepinwine/tools/spark_run_v4.sh 则可以调用
|
# 如果 helper 在 run.sh 相同目录的 deepinwine/tools/spark_run_v4.sh 则可以调用
|
||||||
START_SHELL_PATH="$SHELL_DIR/deepinwine/tools/spark_run_v4.sh"
|
START_SHELL_PATH="$SHELL_DIR/deepinwine/tools/spark_run_v4.sh"
|
||||||
fi
|
fi
|
||||||
if [ -e "/opt/deepinwine/tools/run_v4.sh" ] ;then
|
## If
|
||||||
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
|
|
||||||
ENABLE_DOT_NET=""
|
ENABLE_DOT_NET=""
|
||||||
####若使用spark-wine时需要用到.net,则请把ENABLE_DOT_NET设为true,同时在依赖中写spark-wine7-mono
|
####若使用spark-wine时需要用到.net,则请把ENABLE_DOT_NET设为true,同时在依赖中写spark-wine7-mono
|
||||||
#export BOX86_EMU_CMD="/opt/spark-box86/box86"
|
#export BOX86_EMU_CMD="/opt/spark-box86/box86"
|
||||||
|
|||||||
Reference in New Issue
Block a user