Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
19
android/tools/inspect-process.py
Normal file
19
android/tools/inspect-process.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import sys
|
||||
import json
|
||||
from rdp import RDP
|
||||
|
||||
r = RDP()
|
||||
targets = r.call("root", "listProcesses")["processes"]
|
||||
for p in targets:
|
||||
if p["isParent"]:
|
||||
continue
|
||||
t = r.call(p["actor"], "getTarget")["process"]
|
||||
if sys.argv[1] not in t.get("remoteType", ""):
|
||||
continue
|
||||
a = r.call(t["consoleActor"], "evaluateJSAsync", text=sys.argv[2])
|
||||
while True:
|
||||
q = r.recv()
|
||||
if q.get("type") == "evaluationResult":
|
||||
print(json.dumps(q, indent=2))
|
||||
break
|
||||
r.s.close()
|
||||
Loading…
Reference in a new issue