Add new comment

App not running under MAC when encrypting, ok on windows

Hello,

as in subject. I created a java interface which contains a few images which I stored in the /resources folder when creating the .jar file (I am creating a maven project).

I then created an .exe file with no hide and no encryption using your tool, and everything works completely fine. 

Same holds for a MAC binary executable: without encryption it works fine.

When I enable encryption, under windows I get no problem at all, while when I run the executable binary under MAC, I got the following error "Uncaught error fetching image: " and so on.

 

In my code, when I load the images, I use the "classLoader.getResource()", which I am afraid creates some problem.

I tried to exclude the images directory from hide (by passing ..\resources\img\* in the exclude field), but I got no luck.

Can you help me fixing this issue? Thank you very much.