فهرست منبع

Feature: stop before starting activity

wudi 3 سال پیش
والد
کامیت
91c4d91dee
2فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 0 2
      crontab/root
  2. 1 1
      exec.sh.in

+ 0 - 2
crontab/root

@@ -1,4 +1,2 @@
 0 * * * * /system/bin/touch /sdcard/heartbeat
 25,55 * * * * /data/data/com.termux/files/usr/bin/bash /sdcard/wechat/exec.sh > /sdcard/wechat/exec.log 2>&1
-0 6-22 * * * input keyevent KEYCODE_HOME
-0 0 * * * /system/bin/am force-stop com.tencent.mm

+ 1 - 1
exec.sh.in

@@ -1,4 +1,4 @@
 #!/data/data/com.termux/files/usr/bin/bash
 echo "Start activity..."
-am start -n com.tencent.mm/.plugin.webview.ui.tools.WebViewUI --es "rawUrl" "https://mp.weixin.qq.com/mp/getverifyinfo?__biz=MzAxNTA4OTQ3MA==&type=reg_info#wechat_redirect"
+am start -S -n com.tencent.mm/.plugin.webview.ui.tools.WebViewUI --es "rawUrl" "https://mp.weixin.qq.com/mp/getverifyinfo?__biz=MzAxNTA4OTQ3MA==&type=reg_info#wechat_redirect"
 echo "Done"