“Thanox Profile”的版本间差异

来自Silica Library | 間奏時光
跳到导航 跳到搜索
(创建页面,内容为“Category:Android Thanox 情景模式 == 开机自启动 (启动应用进程) ==   变量名:<code>Background</code> <pre> [{ "name": "System Boot Ready Background Running", "description": "Global Variant: Background", "priority": 1, "condition": "systemReady == true", "actions": ["foreach (el : globalVarOf$Background) {activity.launchProcessForPackage(el);}"] }] </pre> == 开机自启动 (打开应用主界面) ==   变量名:<code>Foregr…”)
 
第1行: 第1行:
[[Category:Android]]
[[Category:Android]]
Thanox 情景模式
[https://play.google.com/store/apps/details?id=github.tornaco.android.thanos.pro Thanox Pro] 情景模式


== 开机自启动 (启动应用进程) ==
== 开机自启动 (启动应用进程) ==

2022年4月19日 (二) 07:15的版本

Thanox Pro 情景模式

开机自启动 (启动应用进程)

  变量名:Background

[{
 "name": "System Boot Ready Background Running",
 "description": "Global Variant: Background",
 "priority": 1,
 "condition": "systemReady == true",
 "actions": ["foreach (el : globalVarOf$Background) {activity.launchProcessForPackage(el);}"]
}]

开机自启动 (打开应用主界面)

  变量名:Foreground
  主要用在一些仅启动进程不足以正常运行的 APP,如 小米健康运动 (只开进程手表无法收到任何通知)。

[{
 "name": "System Boot Ready Foreground Running",
 "description": "Global Variant: Foreground",
 "priority": 1,
 "condition": "systemReady == true",
 "actions": ["foreach (el : globalVarOf$Foreground) {activity.launchMainActivityForPackage(el);}"]
}]

进程守护 (启动应用进程)

  变量名:Background

[{
 "name": "Keep Background Running",
 "description": "Global Variant: Background",
 "priority": 1,
 "condition": "pkgKilled == true && globalVarOf$Background.contains(pkgName)",
 "actions": ["activity.launchProcessForPackage(pkgName)"]
}]

进程守护 (打开应用主界面)

  变量名:Foreground
  主要用在一些仅启动进程不足以正常运行的 APP,如 小米健康运动 (只开进程手表无法收到任何通知)。

[{
 "name": "Keep Foreground Running",
 "description": "Global Variant: Foreground",
 "priority": 1,
 "condition": "pkgKilled == true && globalVarOf$Foreground.contains(pkgName)",
 "actions": ["activity.launchMainActivityForPackage(pkgName)"]
}]