Use stable manifest by default; only load dev manifest when dev channel enabled

This commit is contained in:
Aaron
2025-12-14 17:34:24 -05:00
parent e7a79246b8
commit 50ddc3e211
2 changed files with 7 additions and 3 deletions

View File

@@ -40,7 +40,11 @@ ALL_PATTERNS = [
# Release updater
DEFAULT_MANIFEST_URL = os.environ.get(
"PIKIT_MANIFEST_URL",
# Raw dev manifest keeps dev channel working even when API/latest download is 404.
# Default to stable manifest; dev fallback handled separately in releases.py
"https://git.44r0n.cc/44r0n7/pi-kit/raw/branch/main/manifests/manifest-stable.json",
)
DEFAULT_DEV_MANIFEST_URL = os.environ.get(
"PIKIT_DEV_MANIFEST_URL",
"https://git.44r0n.cc/44r0n7/pi-kit/raw/branch/main/manifests/manifest-dev.json",
)
AUTH_TOKEN = os.environ.get("PIKIT_AUTH_TOKEN")