mirror of
https://github.com/ProjectSWGCore/launcher.git
synced 2026-01-16 23:04:25 -05:00
Fixed icon in jpackage when running from another directory
This commit is contained in:
@@ -148,9 +148,9 @@ jlink {
|
||||
else -> null
|
||||
}
|
||||
installerOptions = when(platform) {
|
||||
"linux" -> listOf("--linux-shortcut", "--icon", "src/main/resources/graphics/ProjectSWG.png")
|
||||
"win" -> listOf("--win-dir-chooser", "--win-shortcut", "--win-menu", "--icon", "src/main/resources/graphics/ProjectSWG.ico")
|
||||
else -> listOf("--icon", "src/main/resources/graphics/ProjectSWG.png")
|
||||
"linux" -> listOf("--linux-shortcut", "--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.png")
|
||||
"win" -> listOf("--win-dir-chooser", "--win-shortcut", "--win-menu", "--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.ico")
|
||||
else -> listOf("--icon", "${projectDir.absolutePath}/src/main/resources/graphics/ProjectSWG.png")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user