mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2026-06-22 14:13:52 +08:00
修改打包用例
This commit is contained in:
+9
-2
@@ -40,10 +40,17 @@ BOTTLENAME="容器名"
|
|||||||
APPVER="版本号"
|
APPVER="版本号"
|
||||||
EXEC_PATH="启动路径"
|
EXEC_PATH="启动路径"
|
||||||
##### 软件在wine中的启动路径
|
##### 软件在wine中的启动路径
|
||||||
|
SHELL_DIR=$(dirname $(realpath $0))
|
||||||
|
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
|
||||||
|
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
|
if [ -e "/opt/deepinwine/tools/spark_run_v4.sh" ] ;then
|
||||||
START_SHELL_PATH="/opt/deepinwine/tools/spark_run_v4.sh"
|
START_SHELL_PATH="/opt/deepinwine/tools/spark_run_v4.sh"
|
||||||
else
|
|
||||||
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
|
|
||||||
fi
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user