Quellcode durchsuchen

Feature: stop before starting activity

wudi vor 3 Jahren
Ursprung
Commit
91c4d91dee
2 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  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"