Stefan Oltmann
09/19/2025, 10:19 AMkotlin("jvm"))windows {
iconFile.set(project.file("src/main/resources/icon.ico"))
}
appResourcesRootDir.set(
rootProject.layout.projectDirectory.dir("resources")
)
S.
09/19/2025, 10:29 AMStefan Oltmann
09/19/2025, 10:30 AMcreateReleaseDistributableS.
09/19/2025, 10:34 AMStefan Oltmann
09/19/2025, 10:35 AMStefan Oltmann
09/19/2025, 10:38 AMiconFile.set(_project_.file("icon.ico")) & iconFile.set(_project_.file("resources/icon.ico")) do not work, too.S.
09/19/2025, 10:44 AMappResourcesRootDir.set(project.file("resources"))
windows {
iconFile.set(project.file("desktopAppIcons/windows.ico"))
}
I have both as well but I do see the icons in the taskbarS.
09/19/2025, 10:45 AMWindow ? I just removed it from here and now when I run it from IJ I only see the JB iconStefan Oltmann
09/19/2025, 10:46 AMS.
09/19/2025, 10:47 AMStefan Oltmann
09/19/2025, 10:48 AMStefan Oltmann
09/19/2025, 10:49 AMStefan Oltmann
09/19/2025, 10:50 AMS.
09/19/2025, 10:50 AMicon = painterResource(Res.drawable.logo_512) after createDistributable I see java duke. even though icons are defined in the build fileStefan Oltmann
09/19/2025, 10:51 AMS.
09/19/2025, 10:51 AMS.
09/19/2025, 10:52 AMS.
09/19/2025, 10:53 AMStefan Oltmann
09/19/2025, 11:27 AMS.
09/19/2025, 11:33 AMStefan Oltmann
09/19/2025, 12:02 PMappResourcesRootDir.set(project.file("resources")) or not influences if the icon will also show up for the task bar.
Both should not be related. I don't get it.Stefan Oltmann
09/19/2025, 12:09 PMsingleWindowApplication works, but direcly on Window not.S.
09/19/2025, 12:12 PMStefan Oltmann
09/19/2025, 12:53 PM