From 5abf421f11579006ffe626d14af319cd3e8939bd Mon Sep 17 00:00:00 2001 From: DC Date: Thu, 7 Apr 2016 04:35:23 -0700 Subject: [PATCH] Auto updater: tell server which platform we're on --- config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.js b/config.js index ee62ce8d..b2d17897 100644 --- a/config.js +++ b/config.js @@ -14,7 +14,8 @@ module.exports = { APP_VERSION: APP_VERSION, APP_WINDOW_TITLE: APP_NAME + ' (BETA)', - AUTO_UPDATE_URL: 'https://webtorrent.io/desktop/update?version=' + APP_VERSION, + AUTO_UPDATE_URL: 'https://webtorrent.io/desktop/update' + + '?version=' + APP_VERSION + '&platform=' + process.platform, AUTO_UPDATE_CHECK_STARTUP_DELAY: 5 * 1000 /* 5 seconds */, CRASH_REPORT_URL: 'https://webtorrent.io/desktop/crash-report',