feat: lan button WIP

This commit is contained in:
aclist committed 2026-01-10 21:30:09 +09:00
1 parent 10037b86d8
commit e2ec093f67
9 files changed
+120 -26

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ logger = logging.getLogger(__name__)
def get_latest_release() -> str | None:
tag = None
for url in [GITHUB_RELEASES, CODEBERG_RELEASES]:
# TODO: check order; github often has gateway errors
for url in [CODEBERG_RELEASES, GITHUB_RELEASES]:
try:
res = requests.get(url, timeout=REQUEST_TIMEOUT)
if res.status_code == 200: