Skip to content

Commit

Permalink
build: improve build script for making installer more user-friendly (#…
Browse files Browse the repository at this point in the history
…117)

* build: add icons

* build: add installer related options for ease installing
  • Loading branch information
hizumiaoba authored Oct 3, 2024
1 parent 3fb6dc5 commit 5a330c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ jlink {
launcher {
name = "MinecraftTimeMachine"
}
jpackage {
imageOptions.addAll(listOf("--icon", "${projectDir}/src/main/resources/assets/icon.ico"))
installerOptions.addAll(listOf("--win-per-user-install","--win-dir-chooser", "--win-menu", "--win-shortcut", "--win-shortcut-prompt"))
}
}

tasks.jlinkZip {
Expand Down
Binary file added app/src/main/resources/assets/icon.ico
Binary file not shown.

0 comments on commit 5a330c9

Please sign in to comment.