mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
Tweak the Bus example
This commit is contained in:
1 parent
7667e9716e
commit
a217308a9a
1 file changed
+4
-4
@@ -40,6 +40,10 @@ class Application:
|
||||
sys.stdout.write("\033[1A\033[K")
|
||||
sys.stdout.flush()
|
||||
|
||||
if len(text) == 0:
|
||||
self._print("Processes:", self._device.enumerate_processes())
|
||||
continue
|
||||
|
||||
if text.startswith("/join "):
|
||||
if self._channel is not None:
|
||||
self._bus.post({
|
||||
@@ -62,10 +66,6 @@ class Application:
|
||||
})
|
||||
continue
|
||||
|
||||
if len(text) == 0:
|
||||
self._print("Processes:", self._device.enumerate_processes())
|
||||
continue
|
||||
|
||||
if self._channel is not None:
|
||||
self._bus.post({
|
||||
'channel': self._channel,
|
||||
|
||||
Reference in new issue
Block a user