modify backend check logic

This commit is contained in:
BuildTools 2024-08-04 09:12:07 -07:00
parent cb11440e1f
commit a2fce58423
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
@echo off
set PYTHONIOENCODING=utf-8
set AUTOGGUF_LANGUAGE=en-US
set AUTOGGUF_CHECK_BACKEND=disabled
python src/main.py

View File

@ -89,6 +89,7 @@ def __init__(self):
right_layout.addWidget(download_group)
# Initialize releases and backends
if os.environ.get('AUTOGGUF_CHECK_BACKEND', '').lower() == 'enabled':
self.refresh_releases()
self.refresh_backends()