Always add 'ga' and 'ea' only if it is in the version number

This commit is contained in:
Gerrit Grunwald 2021-03-12 12:29:59 +01:00
parent 74d577bb95
commit 33ea571461
2 changed files with 2 additions and 5 deletions

View file

@ -268,9 +268,8 @@ async function getDownloadInfo(
}
if (version.includes('ea')) {
url += '&release_status=ea';
} else {
url += '&release_status=ga';
}
url += '&release_status=ga';
url += '&architecture=' + architecture;
url += '&operating_system=' + operatingSystem;
url += '&archive_type=' + archiveType;