037ea2da32
The release repo is private, so the auto-updater previously required each user to paste a Gitea token into Settings before it could see or download updates. Inject a read-only token at build time (AEROFETCH_UPDATE_TOKEN env var or a gitignored .update-token file) via electron.vite's `define`, and fall back to it in authHeader() when the user hasn't set their own. The token value lives only in the built bundle, never in source or git. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
262 B
Plaintext
17 lines
262 B
Plaintext
node_modules
|
|
out
|
|
dist
|
|
*.log
|
|
.DS_Store
|
|
*.tsbuildinfo
|
|
|
|
# Local screen-capture frames (not source)
|
|
.frames/
|
|
|
|
# Secrets — never commit
|
|
.gitea-token
|
|
.update-token
|
|
|
|
# VS Code user settings (workspace settings/.vscode/launch.json are committed)
|
|
.vscode/settings.json
|