mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Export CONFIG.channel instead of getChannel() function
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = function () {
|
||||
}
|
||||
|
||||
fs.copySync(
|
||||
path.join(CONFIG.repositoryRootPath, 'resources', 'app-icons', CONFIG.getChannel(), 'png', '1024.png'),
|
||||
path.join(CONFIG.repositoryRootPath, 'resources', 'app-icons', CONFIG.channel, 'png', '1024.png'),
|
||||
path.join(CONFIG.intermediateAppPath, 'resources', 'atom.png')
|
||||
)
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ module.exports = function () {
|
||||
'build-version': CONFIG.getAppVersion(),
|
||||
'download': {cache: CONFIG.cachePath},
|
||||
'dir': CONFIG.intermediateAppPath,
|
||||
'icon': path.join(CONFIG.repositoryRootPath, 'resources', 'app-icons', CONFIG.getChannel(), 'atom.icns'),
|
||||
'icon': path.join(CONFIG.repositoryRootPath, 'resources', 'app-icons', CONFIG.channel, 'atom.icns'),
|
||||
'out': CONFIG.buildOutputPath,
|
||||
'overwrite': true,
|
||||
'platform': process.platform,
|
||||
|
||||
Reference in New Issue
Block a user