OpenLogic uses zip for macos pkgs

This commit is contained in:
Gerrit Grunwald 2021-04-26 08:45:13 +02:00
commit 628791df9d
2 changed files with 5 additions and 2 deletions

View file

@ -226,7 +226,10 @@ async function getDownloadInfo(
} else {
if (process.platform === 'darwin') {
operatingSystem = 'macos';
archiveType = distribution === 'liberica' ? 'zip' : 'tar.gz';
archiveType =
distribution === 'liberica' || distribution === 'open_logic'
? 'zip'
: 'tar.gz';
} else {
operatingSystem = 'linux';
archiveType = distribution === 'ojdk_build' ? 'zip' : 'tar.gz';