fix: way to re-inject Apple Music

with_status
WorldObservationLog 6 months ago
parent aaf6ed5030
commit 356a5b2478
  1. 5
      src/adb.py

@ -84,12 +84,9 @@ class Device:
def restart_inject_frida(self): def restart_inject_frida(self):
self.fridaSession.detach() self.fridaSession.detach()
self._kill_apple_music() self.fridaDevice.kill(self.pid)
self._inject_frida(self.fridaPort) self._inject_frida(self.fridaPort)
def _kill_apple_music(self):
self._execute_command(f"kill -9 {self.pid}", su=True)
def start_inject_frida(self, frida_port): def start_inject_frida(self, frida_port):
if not self._if_frida_running(): if not self._if_frida_running():
# self._start_remote_frida() # self._start_remote_frida()

Loading…
Cancel
Save