When you package your libGDX app for the desktop via Gradle r by exporting form your IDE, you usually end up with a JAR file which you can hand to your users. However, your users need to have a JVM installed.
Packr makes your libGDX app look more native. Packr does the following for you:
- Bundle your JAR with a JRE, so your end users don’t need to install Java
- Create a platform specific directory structure, e.g. App Bundle for Mac OS X etc.
- Add a native executable that starts the embedded JRE, making your app look more native
- Minimize the bundled JRE
You can pack for any platform on any platform, e.g. you can pack for Windows on a Mac and vice versa. You can configure packr in various ways, via CLI arguments, a json file per platform or directly from within your own code.