mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
修改tmp路径以兼容termux
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/data/data/com.termux/files/usr/bin/bash
|
||||
CURRENT_DIR=$(cd $(dirname $0); pwd)
|
||||
CURRENT_DIR=$(dirname $(readlink -f "$0"))
|
||||
|
||||
if [[ $DISPLAY == "" ]] && [[ $WAYLAND_DISPLAY == "" ]]; then
|
||||
# 自动配置 NoVNC
|
||||
export DISPLAY=:5
|
||||
|
||||
Reference in New Issue
Block a user