For versions beyond v0.6 build 19, is it not possible to directly execute .jar files anymore? Instead I think this is the new method:
Code: Select all
application = {JAVAEXE}
commandline = -jar "{YAPROOT}\App\MyFile.jar"
With v7.1, I get some weirdness when passing a command line argument that tells the java app to save files within their own directory. For example, Chatty
http://chatty.github.io/ has the -cd command to make itself portable. If I use yaP v7.1 with the new way to execute .jar files, those settings files will save itself where javaw.exe is installed instead of where chatty.jar is.
Chatty by itself wouldn't need yaP but I have to use yaP to pass -cd and other custom arguments from Livestreamer-Twitch-GUI
https://github.com/bastimeyer/livestreamer-twitch-gui which I also made portable with yap. It doesn't like portablized .jar only -cd Chatty. I need to pass it through the yaP launcher.
It's possible to do it the regular way which is to copy from %AppData% and back into the portable settings folder, but the reason I don't wanna do that with chatty is because it caches thousands of small files for its settings and it takes FOREVER to launch when it copies files to %AppData%. (chatty actually saves settings to %USERPROFILE% but was just saying %AppData% as its the usual method for most programs)
I can keep using v0.6 build 19 which works for it but its odd that v7.1 loses a feature.