@mathbrush I took notes on getting the PC process working for my WIP back in 2022. My starting place for a working script was back in this thread, working from something David Cornelson originally provided in 2017. If you go to the last post of the thread, you’ll see my updated script.
You’ve got yours working already, but you can compare and find out if your script is better or ‘worse’ (since I’d definitely prefer the better one!)
The process I have never handles the tempapp folder contents correctly, so I have to do some manual integrations of updated files over old ones when I make a new build of a game that has changed. I don’t know if you’ll run into this yourself if you enter this situation, or if your script somehow will obviate it.
-Wade