feat: cache logos locally, show config_path, rename Sync button (#511)

- logoCacheService.ts: download script logos to public/logos/ for local serving
- cache-logos.ts: build-time script caching 500+ logos from PocketBase
- scripts.ts router: resolve local logo paths, resyncScripts now caches logos
- autoSyncService.js: cache logos during background auto-sync
- ScriptDetailModal: show config_path per install method
- ResyncButton: renamed 'Sync Json Files' to 'Sync Scripts'
- GeneralSettingsModal: updated auto-sync description text
- .gitignore: ignore public/logos/ and data/*.db
This commit is contained in:
CanbiZ (MickLesk)
2026-03-17 16:35:03 +01:00
committed by GitHub
parent d8e92e0445
commit e2a950da58
9 changed files with 229 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "prisma generate && next build --webpack",
"build": "prisma generate && node --import tsx scripts/cache-logos.ts && next build --webpack",
"check": "eslint . && tsc --noEmit",
"dev": "next dev --webpack",
"dev:server": "node --import tsx server.js",