Page 1 of 1

Running within it's own directory?

PostPosted: Sat Jan 28, 2017 6:07 am
by ethancedrik
I'm running the self-contained subsonic subsonic-booter-jar-with-dependencies.jar version of subsonic, and I was wondering if I could just make it put all the files and folders it uses in the same directory as the .jar being executed instead of it automatically putting it in the root of the drive.

Is this possible? Can I somehow edit the .jar file to allow for this?

Re: Running within it's own directory?

PostPosted: Sat Jan 28, 2017 10:22 pm
by ethancedrik
I managed to do this by editing the bash .sh file, and if you can't run a bash file you can launch the jar with command line arguments, you cannot however make a .jar that does this automatically unless you manually recompile subsonic.

Thanks, this can be closed now!