Merge pull request #15613 from atom/mb-fix-mac-snapshot-verification-on-beta

Use the Atom Beta executable to verify startup snapshots when building Beta
This commit is contained in:
Max Brunsfeld
2017-09-11 10:30:34 -07:00
committed by GitHub

View File

@@ -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 {