fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 134 forks source link

Specify file associations explorer icons #445

Open BugHunterPhilosopher opened 1 week ago

BugHunterPhilosopher commented 1 week ago

I'm submitting a…

Short description of the issue/suggestion:

We are able to specify file associations in JavaPackager thanks to 103 I would like to have the ability to choose the file explorer icon(s) of the associated filetype(s), using this plugin. I read through the source, and I cannot find how to do this. In fact, it appears that we are entirely unable to specify file associations icons.

What is the expected behavior?

Have a configuration property in which we are able to specify these icons.

What is the current behavior?

There´s no way to specify these icons.

What is the motivation / use case for changing the behavior?

It is sometimes desired to register the java application to open certain files and then we would like to have the file type graphically demonstrate the association in a file explorer.

Please tell us about your environment:

fvarrui commented 3 days ago

Hi @BugHunterPhilosopher! Sorry for my late reply.

You are right, there's no way to set an specific icon to file associations. JP has been growing on demand, and your request has sense. I'll think about this feature and how to develop it.

BugHunterPhilosopher commented 3 days ago

No worries, I know you're a one-man army. Keep on the good work.