add .env-based config, token script, and VS Code launch configs

Move Twitch credentials from hardcoded launch.json args to a gitignored
.env file read via --dart-define-from-file. Add a shell script to get a
user auth token through the Authorization Code flow for easy emulator
login. Update README with the new setup steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tommy Chow 2026-03-01 20:09:39 -08:00
parent 6b765e4246
commit 09b3b3543b
5 changed files with 130 additions and 3 deletions

2
.env.example Normal file
View file

@ -0,0 +1,2 @@
CLIENT_ID=
SECRET=