Update build to use electron

This commit is contained in:
Kevin Sawicki 2015-05-20 12:12:09 -07:00 committed by Thomas Johansen
parent 01a692a276
commit 0262ae3c9d
2 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ module.exports = (grunt) ->
installDir = grunt.option('install-dir')
home = if process.platform is 'win32' then process.env.USERPROFILE else process.env.HOME
atomShellDownloadDir = path.join(home, '.atom', 'atom-shell')
electronDownloadDir = path.join(home, '.atom', 'electron')
symbolsDir = path.join(buildDir, 'Atom.breakpad.syms')
shellAppDir = path.join(buildDir, appName)
@ -225,10 +225,10 @@ module.exports = (grunt) ->
'static/**/*.less'
]
'download-atom-shell':
version: packageJson.atomShellVersion
outputDir: 'atom-shell'
downloadDir: atomShellDownloadDir
'download-electron':
version: packageJson.electronVersion
outputDir: 'electron'
downloadDir: electronDownloadDir
rebuild: true # rebuild native modules after atom-shell is updated
token: process.env.ATOM_ACCESS_TOKEN

View File

@ -12,7 +12,7 @@
"url": "https://github.com/atom/atom/issues"
},
"license": "MIT",
"atomShellVersion": "0.22.3",
"atomShellVersion": "0.26.0",
"dependencies": {
"async": "0.2.6",
"atom-keymap": "^5.1.10",