mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-02 13:15:17 +09:00
The About page's /system/version (and check-update's current-version read) hardcoded /opt/serverkit first, duplicated in three places: - app/utils/version.py is now the single resolver: explicit SERVERKIT_INSTALL_DIR override -> the running code's own tree -> /opt/serverkit last (a box moved to a custom dir may still have a stale tree there); system.py's two inline copies now call it - the systemd unit template renders SERVERKIT_INSTALL_DIR from the installer's SERVERKIT_DIR (deliberately not the bare SERVERKIT_DIR env name, which app/paths.py already uses for the /var/serverkit data root); flows to existing installs via the updater's re-render - crypto's .env discovery gains the same install-dir hint - Docker image now ships VERSION (/app/VERSION) — containers showed the 1.0.0 fallback because no candidate path existed in the image - 4 proving tests in backend/tests/test_panel_version.py Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>