Closed JohnAFernandez closed 8 months ago
Ok, with Wookie's assistance, it now works on Windows and Mac. Hoping for a Linux test from @notimaginative, but otherwise ready.
I only took a quick look but I don't think this is the right way to fix it. The reason being that the .app is the build you want to use and the getting to the internals of it is just so Knossos can have a real file to deal with. And Knossos needs to know the directory the build is in, but with this code that gets worked out to be internal to the .app instead of where the .app itself is located.
So I haven't tested the idea yet but this probably needs to be fixed in FsoBuild()
instead. folderPath
would be the directory when the .app is (no changes needed, probably), and directExec
would be set to what you have path
set to in this PR.
Waiting for confirmation that this does not interfere on Windows before marking as ready for review.