Use entirely at your own risk. Windows 10 (and probably 11) only.
This application takes the resolution and refresh rate passed from Moonlight to change the Sunshine host machine's screen resolution and refresh rate to those values.
When the stream is paused or terminated - the resolution and refresh rate are reset.
Download the archive and extract the RadioSunshine folder to a location you intend to keep it. Run the exe therein, locate the Sunshine .conf file, and apply the update.
To uninstall the update, ensure Sunshine is not running; execute the RadioSunshine exe again and click 'Remove Update'.
If you move the RadioSunshine folder, or the exe therein, the service will not work, and Sunshine may not connect to Moonlight. If this happens - simply manually edit the Sunshine .conf file so that the appropriate instruction is reset: "global_prep_cmd = []". Then restart Sunshine.
Heavily influenced by Nonary's work. https://github.com/Nonary/ResolutionAutomation/releases
Enjoy :)