diff --git a/install-wechat.sh b/install-wechat.sh index 074baaf..4adcc9c 100644 --- a/install-wechat.sh +++ b/install-wechat.sh @@ -3,7 +3,6 @@ function install() { while : do - sudo ps -ef xdotool search '微信安装向导' NOTFOUND=$? echo $NOTFOUND @@ -45,7 +44,8 @@ function install() { id -wine WeChatSetup.exe & +wine 'C:\WeChatSetup.exe' & +sudo ps -ef sleep 1m install