Mac app, where to place assets?
Snehks opened this issue · comments
Hi,
Thanks for the awesome plugin. I am having an issue with this. I am trying to bundle my application for OSX. I am able to generate the OSX executable but it won't run without assets obviously. I am not sure where exactly to place the assets. I tried placing my assets inside the package in all the folders but I don't think its working.
Thanks
All right. But for libgdx I have never seen it being able to locate files inside the jar. It always needs the resources outside the jar file.
Yes I applied plugin to desktop project. Also yes libgdx used to add assets inside the jar but it never worked for me and I have seen many similar questions on stackoverflow complaining about assets not found. So people will usually add their assets inside the root folder (where jar is located) and everything started working fine.
https://stackoverflow.com/questions/25474075/executable-jar-with-libgdx-asset-not-found
It will be really great if I could somehow specify my assets directory via parcl and then parcl does the rest for me.
Yep same problem here. I have some native libraries I would like to ship with the bundled app, but I am not sure where to put them. My library path would look like the following:
vmArgs = ["-Djava.library.path=lib/video/macosx64:lib/syphon:lib/themidibus"]
But now I do not know where to put all these native libs.