mirror of
https://github.com/atom/atom.git
synced 2026-01-26 07:19:06 -05:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user