adoptium: add 19

Related to https://github.com/tuna/issues/issues/1651
This commit is contained in:
Zenithal 2023-01-19 21:36:53 +08:00
parent e9ba23c258
commit c809423961
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C

View File

@ -17,7 +17,7 @@ import requests
DOWNLOAD_TIMEOUT = int(os.getenv('DOWNLOAD_TIMEOUT', '1800'))
BASE_PATH = os.getenv('TUNASYNC_WORKING_DIR')
BASE_URL = os.getenv('TUNASYNC_UPSTREAM_URL', "https://packages.adoptium.net/artifactory")
FEATURE_VERSIONS = [8, 11, 17, 18]
FEATURE_VERSIONS = [8, 11, 17, 18, 19]
def download_file(url: str, dst_file: Path)->bool:
try: