mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-12 17:48:27 +08:00
修复无法打开的问题
This commit is contained in:
parent
9296914ed5
commit
6ac4a191ca
@ -1,5 +1,8 @@
|
||||
#!/data/data/com.termux/files/usr/bin/bash
|
||||
CURRENT_DIR=$(dirname $(readlink -f "$0"))
|
||||
if [[ ! -d $TMPDIR/tmp ]]; then
|
||||
mkdir -p $TMPDIR/tmp
|
||||
fi
|
||||
|
||||
if [[ $DISPLAY == "" ]] && [[ $WAYLAND_DISPLAY == "" ]]; then
|
||||
# 自动配置 NoVNC
|
||||
|
@ -3,7 +3,7 @@ import sys
|
||||
import os
|
||||
import atexit
|
||||
|
||||
PIDFILE = os.getenv() + '/tmp/deepin-wine-runner.pid'
|
||||
PIDFILE = os.getenv("TMPDIR") + '/tmp/deepin-wine-runner.pid'
|
||||
|
||||
#程序结束时清理pid
|
||||
@atexit.register
|
||||
|
Loading…
Reference in New Issue
Block a user