You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Provision a self-contained python interpreter first `PyInstallation installation = PyInstallationHandler.install(new File(</path/to/install/dir>));`
13
+
- This downloads a pinned, arch-matched [python-build-standalone](https://github.com/astral-sh/python-build-standalone) interpreter, installs the requirements directly into it, and writes a `.ready` marker.
13
14
- You don't need to check for directory existence beforehand, the code is safe to use on every run.
14
15
- You should version the pathes using `PyMobileDevice3IPC.PROTOCOL_VERSION`, to avoid version collisions.
15
16
- Then launch the daemon with `DaemonHandler.startDaemon(installation);`
16
17
- Connect to the Daemon using `PyMobileDevice3IPC ipc = new PyMobileDevice3IPC()`. This object should be closed if not used anymore.
17
18
18
19
19
20
### The IPC
20
-
You can now use the `PyMobileDevice3IPC` created. All IPC methods return a `CompletableFuture` and are non-blocking.
21
-
The `DebugServer` methods require tunneld to be running. You can check the status with `PyMobileDevice3IPC#isTunneldRunning`.
22
-
You can launch tunneld with `PyMobileDevice3IPC#ensureTunneldRunning`, however this will ask for elevated priviliges on macos.
21
+
You can now use the `PyMobileDevice3IPC` created. All IPC methods return a `CompletableFuture` and are non-blocking.
0 commit comments