# CloudPlay Client for Windows

CloudPlay.exe is the CloudPlay control UI and URI handler. `cloudplay-stream.exe` is an internal GPL-3.0 build of the pinned Moonlight Qt engine, invoked only in direct pair/stream CLI modes. Users never see the standard host/application settings UI. Media and input travel directly between the client and Sunshine.

## Build

Requirements: Windows, Visual Studio 2026, Visual Studio 2022 and CMake. Build the launcher with CMake/MSVC and package it with the official Moonlight Portable v6.1.0 runtime renamed internally to `cloudplay-stream.exe`.

Configure `CLOUDPLAY_API_URL` at runtime. Refresh tokens are stored in Windows Credential Manager; passwords are never persisted. The installer must register `cloudplay://` (the application also registers it per-user on first run).

## License

The launcher and modified/distributed Moonlight component are distributed under GPL-3.0. Corresponding source, license text, notices, and build instructions must accompany every published binary. Moonlight Qt runtime release: `v6.1.0`. Corresponding source: https://github.com/moonlight-stream/moonlight-qt/tree/v6.1.0.
