mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2025-12-18 21:11:39 +08:00
runtime-i386的优先级选择
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
cd $(dirname $0)
|
||||
|
||||
SHELL_DIR=$(dirname $(realpath $0))
|
||||
runtime_path=$SHELL_DIR/../../runtime-i386
|
||||
runtime_path=/opt/deepinwine/runtime-i386
|
||||
if [[ -d $SHELL_DIR/../../runtime-i386 ]]; then
|
||||
# 如果该 helper 下含有 runtime-i386,则直接使用相对路径的
|
||||
runtime_path=$SHELL_DIR/../../runtime-i386
|
||||
fi
|
||||
echo $runtime_path
|
||||
if [ -f "$runtime_path/init_runtime.sh" ];then
|
||||
source "$runtime_path/init_runtime.sh"
|
||||
|
||||
Reference in New Issue
Block a user