Download Linux tar.gz too

This commit is contained in:
Kenneth Geisshirt 2018-05-08 10:05:26 +02:00
parent 649b7545f9
commit 30c6779b9f
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,10 @@ function getSyncRequirements(dependencies, options, required = {}) {
return required;
});
}
case 'linux':
required.SYNC_ARCHIVE = `realm-sync-Release-v${dependencies.REALM_SYNC_VERSION}-Linux-devel.tar.gz`;
required.SYNC_ARCHIVE_ROOT = `realm-sync-Release-v${dependencies.REALM_SYNC_VERSION}`;
return Promise.resolve(required);
default:
return Promise.reject(new Error(`Unsupported sync platform '${options.platform}'`));
}