mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-03 02:26:43 +09:00
Two gaps for existing installs: - The tint ran only in install.sh, so `serverkit update` (which has its own build path in scripts/update.sh) would rebuild with the DEFAULT color and a fixed favicon.ico — existing installs would never get a unique mark. - Re-tinting on every rebuild would also repaint the box on each update. Fix: assign the color ONCE and persist it in /etc/serverkit/favicon-color (survives updates), then re-apply the SAME color from both install and update. update.sh applies it to the staged dist unconditionally (after the guarded build), so it works whether dist was rebuilt (source mode) or shipped prebuilt (release). An install that predates the feature picks up a color on its first update and keeps it thereafter — a car keeps its paint. Verified: bash -n on both scripts; persistence confirmed (re-run reuses the stored color). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>