Modern Apps git

xtool.git

Public
git clone https://git.maproj.org/xtool.git
appstore-distribution ▾

xtool.git / Linux / README.md

README.md1.0 KiBRenderedCodeRaw
1# xtool + Linux = <3
2
3xtool currently uses AppImage to build its Linux CLI. It is possible to build and run the AppImage on a native Linux host, as well as through Docker (natively or through Docker Desktop on macOS).
4
5## Setup
6
7Make sure `usbmuxd` is installed on your host machine. On macOS, `usbmuxd` is preinstalled.
8
9### Using Docker
10
11You can build and run a container with standard Docker Compose commands, for example:
12```
13docker compose run --rm xtool
14```
15This will spawn a shell inside the container. The xtool root directory will be bind-mounted at `/xtool`.
16
17To actually access iOS devices from inside Docker, you'll also need to forward the host's `usbmuxd` to a port which the Docker container's libusbmuxd will connect to. Keep this command running on your host machine:
18```
19socat -dd TCP-LISTEN:27015,range=127.0.0.1/32,reuseaddr,fork UNIX-CLIENT:/var/run/usbmuxd
20```
21
22## Building
23
24Simply run `./build.sh` in this directory. This will output an AppImage to `packages/xtool.AppImage`, which can directly be invoked.