Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac app, where to place assets? #7

Open
Snehks opened this issue Jun 27, 2017 · 5 comments
Open

Mac app, where to place assets? #7

Snehks opened this issue Jun 27, 2017 · 5 comments

Comments

@Snehks
Copy link

Snehks commented Jun 27, 2017

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

@tomcashman
Copy link
Collaborator

tomcashman commented Jun 27, 2017 via email

@Snehks
Copy link
Author

Snehks commented Jun 27, 2017

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.

@tomcashman
Copy link
Collaborator

tomcashman commented Jun 27, 2017 via email

@Snehks
Copy link
Author

Snehks commented Jun 27, 2017

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.

@cansik
Copy link

cansik commented Feb 3, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants