From 30c6779b9fa58c0c7fc3e2bf0458debbbd245a82 Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Tue, 8 May 2018 10:05:26 +0200 Subject: [PATCH] Download Linux tar.gz too --- scripts/download-realm.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/download-realm.js b/scripts/download-realm.js index b097a70e..adbfb80d 100644 --- a/scripts/download-realm.js +++ b/scripts/download-realm.js @@ -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}'`)); }