-
-
Notifications
You must be signed in to change notification settings - Fork 150
Building
airsquared edited this page Jun 27, 2023
·
6 revisions
Follow these instructions to build blobsaver yourself:
- Install JDK 19 on your machine.
- Download the source code for the release you want, or from master.
- If you are building for a platform that's not macOS (Intel/Apple Silicon), Windows (x86_64), or Linux (x86_64), download tsschecker for your architecture from here and replace the file in the correct location for your platform:
-
dist/linux/tsschecker
(Linux) -
dist/macos/Contents/MacOS/tsschecker
(macOS) -
dist/windows/files/lib/tsschecker.exe
(Windows).
-
- On any Linux platform or not one of the aforementioned platforms, install the libraries
libimobiledevice
andlibirecovery
, which should be in your distribution's default repositories. - Run
./gradlew build
in the root of the repository and you should have the the compiled files in the directorybuild/distributions
You can supply additional arguments to the build:
-
-PnoCompress=true
: don't compress the java bytecode and keep debug information, useful for debugging -
-PnoConsole=false
: (windows only) show console by default when running app -
-PinstallerType=[value]
: [value] can be one of:-
portable
: (windows only) don't build installer; application directory will be built tobuild/jpackage
instead -
tar.gz
: (linux only) -
deb
: (linux only) -
rpm
: (linux only) -
pkg
: (mac only) build pkg installer
-
For example: ./gradlew build -PnoCompress=true -PnoConsole=false -PinstallerType=portable