From ff0cd4c6ed7c842003121df905e46e7d916ccfd2 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 28 Jun 2018 12:04:12 -0700 Subject: [PATCH] Use atom.io update endpoint for Windows installer builds --- script/lib/create-windows-installer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/lib/create-windows-installer.js b/script/lib/create-windows-installer.js index e399697ec..168b923af 100644 --- a/script/lib/create-windows-installer.js +++ b/script/lib/create-windows-installer.js @@ -8,7 +8,7 @@ const path = require('path') const CONFIG = require('../config') module.exports = (packagedAppPath) => { - // const archSuffix = process.arch === 'ia32' ? '' : '-' + process.arch + const archSuffix = process.arch === 'ia32' ? '' : '-' + process.arch const options = { appDirectory: packagedAppPath, authors: 'GitHub Inc.', @@ -16,7 +16,7 @@ module.exports = (packagedAppPath) => { loadingGif: path.join(CONFIG.repositoryRootPath, 'resources', 'win', 'loading.gif'), outputDirectory: CONFIG.buildOutputPath, noMsi: true, - // remoteReleases: `https://atom.io/api/updates${archSuffix}?version=${CONFIG.appMetadata.version}`, + remoteReleases: `https://atom.io/api/updates${archSuffix}?version=${CONFIG.computedAppVersion}`, setupExe: `AtomSetup${process.arch === 'x64' ? '-x64' : ''}.exe`, setupIcon: path.join(CONFIG.repositoryRootPath, 'resources', 'app-icons', CONFIG.channel, 'atom.ico') }