Export CONFIG.channel instead of getChannel() function

This commit is contained in:
Antonio Scandurra
2016-07-29 16:37:55 +02:00
parent 6f5b284d48
commit d3f0897ca6
3 changed files with 4 additions and 3 deletions

View File

@@ -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')
)
}

View File

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