diff --git a/app/build.gradle.kts b/app/build.gradle.kts index dfb4238..0e4e724 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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 { diff --git a/app/src/main/resources/assets/icon.ico b/app/src/main/resources/assets/icon.ico new file mode 100644 index 0000000..ccb08ba Binary files /dev/null and b/app/src/main/resources/assets/icon.ico differ