# StreamRigged

Your stream is rigged against you.

StreamRigged is a clean game mod loader and hub for supported game mod packs. **Get To Work Interactive** is the public StreamRigged mod pack for Get To Work.

## App Flow

1. Open StreamRigged.
2. Continue with Discord.
3. Open Library.
4. Select Get To Work.
5. Install, verify, update, or launch Get To Work Interactive.

## Current UI

- Home Discord sign-in and account summary.
- Library with Get To Work and one More Games card.
- Get To Work detail page opened from Library.
- Support page with diagnostics and local log shortcuts.
- Replaceable branding assets under `StreamRigged/Assets/`.

## Build

```powershell
dotnet build .\StreamRigged.csproj -c Release
```

## Public Release

The loader reads `BackendBaseUrl` from `appsettings.json` for health, Discord auth, access refresh, logout, and package manifest/file downloads. Admin endpoints are not part of the loader.

Local-dev public release:

```powershell
.\scripts\Build-PublicRelease.ps1
```

Production public release:

```powershell
.\scripts\Build-PublicRelease.ps1 -BackendBaseUrl "https://YOUR_DOMAIN_HERE"
```

The public release folder must only contain:

```text
StreamRigged.exe
appsettings.json
README.md
```

Do not include `.env`, secrets, databases, private payloads, manifests, BepInEx, runtime DLLs, logs, source files, game files, asset folders, or `DesignReferences`.
