packr - package your apps for the deskop

See https://github.com/libgdx/packr

Takes a platform, a JDK (containing a JRE), your JAR and a json file specifying the VM args and packages it for either Windows (folder), Linux (folder) or Mac OS X (App Bundle). The package will contain a native executable so your app kinda looks like a native app. It will invoke the bundled JRE using the arguments specified in the config.json file.

I’ll add tree shaking and icon support when i have more time, PRs welcome. Feel free to laugh at my horrible C/C++.

Now we are talking.

I dont like assets inside the jar so I have a folder with all the data. Is that possible with this ? I wouldnt like a huge exe file

Doesn’t do it atm, but you can always send a PR. The JAR isn’t packaged with the exe but kept separate.

Nice! This should take a lot of work out of my usual distribution process.

Improved things a little more. You can now also specify files/folders that should be packaged. Still working on the tree shaking, but it will evenutally be integrated. See https://github.com/libgdx/packr