Skip to content

Commit

Permalink
Rename cachePath to electronDownloadPath
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Scandurra committed Aug 11, 2016
1 parent 3b1d98e commit 65b0f7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ debug.log
/tags
/atom-shell/
/out/
/cache/
docs/output
docs/includes
spec/fixtures/evil-files/
out/
electron/
/electron/
4 changes: 2 additions & 2 deletions script/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const buildOutputPath = path.join(repositoryRootPath, 'out')
const docsOutputPath = path.join(repositoryRootPath, 'docs', 'output')
const intermediateAppPath = path.join(buildOutputPath, 'app')
const symbolsPath = path.join(buildOutputPath, 'symbols')
const cachePath = path.join(repositoryRootPath, 'cache')
const electronDownloadPath = path.join(repositoryRootPath, 'electron')
const homeDirPath = process.env.HOME || process.env.USERPROFILE

const appMetadata = require(path.join(repositoryRootPath, 'package.json'))
Expand All @@ -27,7 +27,7 @@ module.exports = {
appMetadata, apmMetadata, channel,
repositoryRootPath, apmRootPath, scriptRootPath,
buildOutputPath, docsOutputPath, intermediateAppPath, symbolsPath,
cachePath, homeDirPath,
electronDownloadPath, homeDirPath,
apmBinPath, npmBinPath
}

Expand Down
2 changes: 1 addition & 1 deletion script/lib/package-application.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = function () {
'arch': arch,
'asar': {unpack: buildAsarUnpackGlobExpression()},
'build-version': CONFIG.appMetadata.version,
'download': {cache: CONFIG.cachePath},
'download': {cache: CONFIG.electronDownloadPath},
'dir': CONFIG.intermediateAppPath,
'extend-info': path.join(CONFIG.repositoryRootPath, 'resources', 'mac', 'atom-Info.plist'),
'helper-bundle-id': 'com.github.atom.helper',
Expand Down

0 comments on commit 65b0f7d

Please sign in to comment.