mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
修复AOSC、Termux无法打开Wine安装器的问题
This commit is contained in:
@@ -9,7 +9,7 @@ if [[ -f $HOME/.config/deepin-wine-runner/vnc-public ]]; then
|
||||
unset noVNCOption
|
||||
unset VNCServerOption
|
||||
fi
|
||||
if [[ $DISPLAY == "" ]] && [[ $WAYLAND_DISPLAY == "" ]]; then
|
||||
if [[ $DISPLAY == "" ]] && [[ $WAYLAND_DISPLAY == "" ]] && [[ -f /data/data/com.termux/files/usr/bin/vncpasswd ]]; then
|
||||
# 自动配置 NoVNC
|
||||
export DISPLAY=:5
|
||||
vncserver -kill :5
|
||||
|
||||
Reference in New Issue
Block a user