davidB / gradle-getdown-plugin

A gradle plugin to bundle java app + jre with getdown support
Creative Commons Zero v1.0 Universal
16 stars 3 forks source link

Application Icon destination #9

Open andretietz opened 9 years ago

andretietz commented 9 years ago

I don't like it to have my application icon in the source folder. It would be nice if I can change the default location of it within the settings (and its name)

getdown { 
... 
icon = images/appicon.ico // and/or png with autogen like you did that already in 0.3.0
}
davidB commented 9 years ago

Currently (0.3.0) it's not possible, icons (favicon.ico, shorcut-*.png) have to be under src/dist like every files that should be copied user 'app' dir. because icons are also used by getdown as icon for first java application (and put as resource, so you should be usabable by final java app (not tested). If no shortcut or favicon.ico are provided, default one are created :

The next planned changed is to create shortcut-*.png for missing lower size from provided higher sized image.

PR welcome (this request is low priority IMHO).

andretietz commented 9 years ago

Totally agree with low prio, its a "nice-to-have".