mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-27 16:38:06 +08:00
20 lines
357 B
Bash
20 lines
357 B
Bash
|
#/bin/bash
|
||
|
|
||
|
cd $(dirname $0)
|
||
|
|
||
|
SHELL_DIR=$(dirname $(realpath $0))
|
||
|
runtime_path=/opt/deepinwine/runtime-i386
|
||
|
echo $runtime_path
|
||
|
if [ -f "$runtime_path/init_runtime.sh" ];then
|
||
|
source "$runtime_path/init_runtime.sh"
|
||
|
|
||
|
init_runtime
|
||
|
init_32bit_config
|
||
|
echo "use deepinwine runtime"
|
||
|
"$WINELDPATH" ./gl-wine32
|
||
|
exit $?
|
||
|
fi
|
||
|
|
||
|
./gl-wine32
|
||
|
exit $?
|