add icons to jpackages

Former-commit-id: 11ce176ed5
Former-commit-id: 04a837eb9232486ca590ae40cfb7e3599ac0c524
This commit is contained in:
idk
2022-10-23 21:04:15 -04:00
parent ff6f70e9fe
commit 5c96c91ada
7 changed files with 13 additions and 2 deletions

9
OSX.md
View File

@ -8,10 +8,15 @@ packages. You can use the `.jar` file with any Java greater than Java 8.
Building a `jpackage`
---------------------
In order to build a `jpackage`, install at least Java 17.
In order to build a `jpackage`, install at least Java 17. To set up Java
17 and configure it to be the Java used by the system for the rest of the
session, use these commands:
```sh
brew install openjdk@17
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
export JAVA_HOME=`/usr/libexec/java_home -v 17`
```
```
Once you're finished, run `./osx-dmg.sh` in the repository root to produce a
`.dmg` package.

View File

@ -10,6 +10,7 @@ jpackage --verbose \
--linux-shortcut \
--license-file LICENSE.md \
--name i2pbrowser \
--icon src/icon.png \
--app-version "$GITHUB_TAG" \
--input src/build \
--main-jar i2pfirefox.jar \

View File

@ -22,6 +22,7 @@ jpackage --verbose \
--license-file LICENSE.md \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--icon src/icon.png \
--input src/build \
--main-jar i2pfirefox.jar \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -5,6 +5,7 @@ jpackage \
--type dmg \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--icon src/icon.png \
--input src/build \
--main-jar i2pfirefox.jar \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -11,6 +11,7 @@ jpackage \
--win-shortcut-prompt \
--win-per-user-install \
--license-file LICENSE.md \
--icon src/icon.png \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--input src/build \

View File

@ -11,6 +11,7 @@ jpackage \
--input src/build \
--main-jar i2pfirefox.jar \
--resource-dir tmp \
--icon src/icon.png \
--main-class net.i2p.i2pfirefox.I2PBrowser
rm -rf tmp
cp -v LICENSE.md i2pbrowser-portable/LICENSE.md

View File

@ -11,6 +11,7 @@ jpackage \
--win-shortcut-prompt \
--win-per-user-install \
--license-file LICENSE.md \
--icon src/icon.png \
--name i2pbrowser \
--app-version "$GITHUB_TAG" \
--input src/build \