libgdx / packr

Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X
Apache License 2.0
2.56k stars 171 forks source link

How to make generated app to use current working dir as its working dir instead of app's dir? #223

Open videoguy opened 2 years ago

videoguy commented 2 years ago

I generated an app called mysigner at $HOME/bin/signer/mysigner using packr. It is fast when I launched it. mysigner takes file/folders as parameters. When I launch mysigner from $HOME/work dir, all the relative file paths are getting resolved to $HOME/bin/signer dir. That doesn't make sense.

What is the trick to make it respect the current working dir and not change to mysigner app location?

Thanks