mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2026-06-22 22:23:54 +08:00
runtime-i386的优先级选择
This commit is contained in:
+5
-1
@@ -3,7 +3,11 @@
|
|||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
SHELL_DIR=$(dirname $(realpath $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
|
echo $runtime_path
|
||||||
if [ -f "$runtime_path/init_runtime.sh" ];then
|
if [ -f "$runtime_path/init_runtime.sh" ];then
|
||||||
source "$runtime_path/init_runtime.sh"
|
source "$runtime_path/init_runtime.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user