Use the Atom Beta executable to verify startup snapshots when building Beta

This commit is contained in:
Max Brunsfeld
2017-09-11 09:47:02 -07:00
parent 787b537f84
commit 07c3c6ea2d

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 {