mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
Update adoptium.py
This commit is contained in:
parent
c31134b6f2
commit
52ef965084
@ -17,7 +17,7 @@ import requests
|
|||||||
DOWNLOAD_TIMEOUT = int(os.getenv('DOWNLOAD_TIMEOUT', '1800'))
|
DOWNLOAD_TIMEOUT = int(os.getenv('DOWNLOAD_TIMEOUT', '1800'))
|
||||||
BASE_PATH = os.getenv('TUNASYNC_WORKING_DIR')
|
BASE_PATH = os.getenv('TUNASYNC_WORKING_DIR')
|
||||||
BASE_URL = os.getenv('TUNASYNC_UPSTREAM_URL', "https://packages.adoptium.net/artifactory")
|
BASE_URL = os.getenv('TUNASYNC_UPSTREAM_URL', "https://packages.adoptium.net/artifactory")
|
||||||
FEATURE_VERSIONS = [8, 11, 17, 18, 19, 21]
|
FEATURE_VERSIONS = [8, 11, 21]
|
||||||
|
|
||||||
def download_file(url: str, dst_file: Path)->bool:
|
def download_file(url: str, dst_file: Path)->bool:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user