From 07c3c6ea2d17b2bb2921391d2cfb0ea27e8189f2 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 11 Sep 2017 09:47:02 -0700 Subject: [PATCH] Use the Atom Beta executable to verify startup snapshots when building Beta --- script/lib/generate-startup-snapshot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/lib/generate-startup-snapshot.js b/script/lib/generate-startup-snapshot.js index bb635b4c1..7701b6a34 100644 --- a/script/lib/generate-startup-snapshot.js +++ b/script/lib/generate-startup-snapshot.js @@ -78,7 +78,8 @@ module.exports = function (packagedAppPath) { const verifySnapshotScriptPath = path.join(CONFIG.repositoryRootPath, 'script', 'verify-snapshot-script') let nodeBundledInElectronPath if (process.platform === 'darwin') { - nodeBundledInElectronPath = path.join(packagedAppPath, 'Contents', 'MacOS', 'Atom') + const executableName = CONFIG.channel === 'beta' ? 'Atom Beta' : 'Atom' + nodeBundledInElectronPath = path.join(packagedAppPath, 'Contents', 'MacOS', executableName) } else if (process.platform === 'win32') { nodeBundledInElectronPath = path.join(packagedAppPath, 'atom.exe') } else {