Raven Desktop
Configuration
Runtime configuration for Raven Desktop
App configuration
Raven Desktop uses Envied to embed .env values into lib/env/env.g.dart at
build time. The local environment file lives in apps/raven/.env.
Required environment variables
| Name | Purpose |
|---|---|
SENTRY_DSN | Sentry project DSN. Leave empty to disable Sentry in release. |
STATSIG_CLIENT_KEY | Statsig client key. If empty, Statsig is disabled. |
RAVEN_SERVICE_URL | Base URL for services/raven ConnectRPC (HTTP/2). |
Optional environment variables
| Name | Purpose |
|---|---|
AUTO_UPDATER_FEED_URL_MACOS | Sparkle appcast fallback for macOS updates. |
AUTO_UPDATER_FEED_URL_WINDOWS | Windows feed fallback (unused today). |
MS_CLIENT_ID | Microsoft OAuth client ID for SSO. |
MS_REDIRECT_URI | OAuth redirect URI (default: com.nest.raven.app://auth). |
MS_TENANT_ID | Microsoft tenant ID (default: common). |
Regenerating env bindings
If you change .env, regenerate Envied bindings:
cd apps/raven
dart run build_runner build --delete-conflicting-outputsFirebase configuration
Firebase options are generated by the FlutterFire CLI in
lib/firebase_options.dart. If Firebase project settings change, re-run the
FlutterFire CLI and commit the updated file.
macOS permissions
- Screen Recording for OCR capture.
- Accessibility for automation workflows.
Last updated on