JavaPackager icon indicating copy to clipboard operation
JavaPackager copied to clipboard

generateSetup ico

Open wendao8469759 opened this issue 1 year ago • 2 comments

I want to know, on the Windows platform, after configuring <generateSetup>true</generateSetup>, how should I configure the icon for generating the installation program? I tried using <icoFile>, but it didn't work.

wendao8469759 avatar Sep 25 '23 03:09 wendao8469759

Hi @wendao8469759! Right now same icon is used for EXE and Setup installer. You can set it with winConfig.icoFile property. I hope it helps

fvarrui avatar Sep 25 '23 12:09 fvarrui

Mmm-hmm. I've configured it to use 'mvn clean package,' but after packaging, the program still hasn't changed the icon. However, I closed the command line and shut down IDEA. After restarting and running 'mvn clean package' again, the icon changed. I suspect it might have been using cached data?

wendao8469759 avatar Sep 25 '23 12:09 wendao8469759

This behaviour is caused by the Windows Explorer cache. If you kill the explorer.exe process and start it again, this problem is solved. Or just wait a while.

fvarrui avatar Mar 31 '24 21:03 fvarrui