Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,15 @@ jlink {
}
imageOptions = when(platform) {
"win" -> listOf("--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.ico")
else -> listOf("--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.png")
"linux" -> listOf("--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.png")
"mac" -> listOf("--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.icns")
else -> throw IllegalStateException("Unsupported platform: $platform")
}
installerOptions = when(platform) {
"linux" -> listOf("--linux-shortcut", "--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.png")
"win" -> listOf("--win-dir-chooser", "--win-shortcut", "--win-menu", "--win-menu-group", "Project SWG", "--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.ico")
else -> listOf("--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.png")
"mac" -> listOf("--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.icns")
else -> throw IllegalStateException("Unsupported platform: $platform")
}
}
}
Expand Down
Binary file added src/main/resources/graphics/ProjectSWG.icns
Binary file not shown.