moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.51k stars 326 forks source link

Flush pair code for external scripts #826

Closed TheChoconut closed 3 years ago

TheChoconut commented 3 years ago

Description Flush pair code on 'moonlight pair'.

Purpose Allows pair code (PIN) for external scripts. The stdout is usually buffered, meaning that line can't be read by external scripts until the executable is done executing. This allows scraping the code from a script.