mirror of
https://github.com/zhaarey/AppleMusicDecrypt.git
synced 2025-10-23 15:11:06 +00:00
fix: way to re-inject Apple Music
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user