899770ed02
Downloads/updates: - config: DOWNLOADS_DIR (override to a mounted volume in prod). - static.js: serves /downloads/* (installer, latest.yml, .blockmap) with range support for resumable + differential auto-updates; /download/windows redirects to the current .exe (stable link). Landing page gets a "Download the Windows desktop app" button (hidden in-app). Install tracking (who installed the app): - db app_installs + repos.appInstalls (upsert by install_id, fills in the user on sign-in). - POST /api/v1/telemetry/install (records install + user once authenticated); GET /api/v1/admin/installs (admin: list installs with user/version/os/last-seen). - desktop main.js: stable per-install id in userData, exposed via preload (bizConnectNative.installId/version/os); home.html reportInstall() posts it after login. - e2e: +2 checks (telemetry recorded, admin sees it). 119/119. build batch20. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
53 lines
731 B
Plaintext
53 lines
731 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Database files
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
*.sqlite
|
|
|
|
# Certificates & keys
|
|
*.pem
|
|
*.key
|
|
*.crt
|
|
|
|
# Environment files
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Local deploy trigger password (never commit)
|
|
deploy.secret
|
|
|
|
# Build output
|
|
dist/
|
|
build/
|
|
out/
|
|
|
|
# Native client generated/build artifacts (Capacitor adds platform dirs; Electron builds to dist)
|
|
mobile/android/
|
|
mobile/ios/
|
|
|
|
# Keep the desktop app icon (a build RESOURCE), even though the global build/ rule ignores it
|
|
!desktop/build/
|
|
!desktop/build/**
|
|
|
|
# Runtime media (created at startup by config.js)
|
|
server/recordings/
|
|
server/transcripts/
|
|
server/uploads/
|
|
server/downloads/
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Editor
|
|
.vscode/
|
|
.idea/
|