Oh sorry I missed that, here it is:
--disable-plugins --disable-internal-flash --disable-popup-blocking --enable-gamepad --enable-html5-camera --allow-file-access-from-files --disable-software-rasterizer --ignore-gpu-blacklist
using NW.js 0.19.2 on windows 10 64bit with obs studio 17.0.0
So I've tested "game capture" and it's indeed not working (detection issues probably related to multiple processes).
Unfortunately our lovely NW.js team broke --single-process once again and I will have to create a bugreport soon (It's running 2 processes instead of 1).
As a temporally workaround you can use "window capture" mode, my tests were successful using that method.
Quick question, why are you targeting
%LocalAppData%\GameName\User Data[/code:dpjggi5h]
For the uninstall script and not [code:dpjggi5h]%LocalAppData%\GameName[/code:dpjggi5h]
Is there any reason to keep the other cache directories on the root directory of the game?
I think that's the folder that Steam/Valve complains about and that's why we delete it but Madspy is one of the few people that has experience with that, so I'm just speculating.
Generally there should be no issues with deleting the whole folder I guess, since NW.js will just recreate all the files on the next run.