修改tmp路径以兼容termux

This commit is contained in:
2024-07-21 12:44:10 +08:00
parent df5d08cd68
commit 9296914ed5
6 changed files with 76 additions and 71 deletions

View File

@@ -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