mirror of
https://github.com/screentinker/screentinker.git
synced 2026-06-20 13:13:20 -06:00
- server/version.js: shared version helper that reads the root VERSION file once (fallback 0.0.0). Replaces the stale hardcoded 1.2.0 / 1.5.1 / 1.0.0 fallbacks in /api/version, /api/update/check, and /api/status. - config.js: DATA_DIR / DB_PATH / UPLOADS_DIR / CERTS_DIR env overrides for the db, uploads, and certs/jwt-secret locations. Unset resolves to exactly the legacy in-repo paths, so existing installs (including production) are byte-for-byte unchanged. Guarded by test/config-paths.test.js. - package.json: rename remote-display-server -> screentinker (+ lockfile name). - scripts/bump-version.sh: one-shot bump across VERSION, package.json (+lock), android (versionName and versionCode + 1), and the tizen widget version; makes one commit plus an annotated tag; prints the push command, never pushes. - .gitignore: global *.db / *.db-wal / *.db-shm / *.db.* so no database file (including .db.devbak backups, at any path) can be committed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
50 lines
758 B
Plaintext
50 lines
758 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Databases: SQLite files, WAL/SHM sidecars, and any .db.<suffix> backups
|
|
# (e.g. .db.devbak), anywhere in the tree - never commit a database.
|
|
*.db
|
|
*.db-wal
|
|
*.db-shm
|
|
*.db.*
|
|
|
|
# Uploads (user content)
|
|
server/uploads/
|
|
|
|
# Secrets and certificates
|
|
server/certs/key.pem
|
|
server/certs/cert.pem
|
|
server/certs/license_private.pem
|
|
server/certs/.jwt_secret
|
|
server/certs/.license_key
|
|
|
|
# Android
|
|
android/.gradle/
|
|
android/build/
|
|
android/app/build/
|
|
android/local.properties
|
|
android/release-key.jks
|
|
*.apk
|
|
*.aab
|
|
|
|
# IDE / Editor
|
|
.claude/
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Environment
|
|
.env
|
|
.env.*
|
|
# ...but DO track the documented template (placeholders only, no secrets)
|
|
!.env.example
|
|
|
|
# Local-only marketing assets
|
|
video/
|