-
Notifications
You must be signed in to change notification settings - Fork 15
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
Comments
The assets should be contained in your jar. The plugin assumes your jar is
able to execute as standalone.
…On Tue, Jun 27, 2017 at 6:15 PM, Sneh Tekriwal ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABqiDAzjWof6ThJUXGyMSFO7mMpnY-Heks5sIMgegaJpZM4OGWmx>
.
--
---
Thomas Cashman
@tom_cashman <https://twitter.com/tom_cashman>
https://tomcashman.xyz
|
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. |
When libgdx generates the desktop jar it usually includes the assets inside
it. Has this changed? If so, I can provide find some configuration to fix
this.
Have you applied the plugin on the desktop project?
…On Tue, Jun 27, 2017 at 6:20 PM, Sneh Tekriwal ***@***.***> wrote:
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABqiDAD5A04d58boqK4EJaEuQ-sYZQ1xks5sIMlbgaJpZM4OGWmx>
.
--
---
Thomas Cashman
@tom_cashman <https://twitter.com/tom_cashman>
https://tomcashman.xyz
|
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. |
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. |
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
The text was updated successfully, but these errors were encountered: