https://github.com/i2p/i2p-jpackage-mac
https://github.com/i2p/i2p-jpackage-mac
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/i2p/i2p-jpackage-mac
- Owner: i2p
- License: other
- Created: 2021-04-05T00:46:00.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-06-30T20:40:30.000Z (6 months ago)
- Last Synced: 2025-06-30T22:04:00.044Z (6 months ago)
- Language: Shell
- Size: 181 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# I2P JPackage Mac
JPackage scripts for packaging I2P on a Mac.
### Requirements
* Java 16 or newer. Even though JPackage existed since 14, it was broken.
* An Apple signing certificate. The JBigi and JRE libs and the final bundle MUST be signed or users will get a scary warning.
### Building
1. See [BUILD.md](BUILD.md)
### How does it work
In order to build an AppBundle that can work from anywhere, it is necessary to use a dedicated main class which determines the current working directory and sets `i2p.dir.base` to the correct location inside the AppBundle. Therefore the `build.sh` script:
1. Compiles the custom main class and puts it in a `launcher.jar`
1. Invokes JPackage with the `--app-image` switch to create the directory structure of the bundle
1. Copies the contents of `../i2p.i2p/pkg-temp` inside the AppBundle, except for the `jars` directory
1. Signs the AppBundle
1. Invokes JPackage again to build the final .dmg