diff --git a/.gitignore b/.gitignore index 0d9cc34..c90922b 100755 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,6 @@ pom.xml *.diff -/atom-shell +/electron /scripts/add-lein-profile diff --git a/Gruntfile.js b/Gruntfile.js index 0f031ec..9eecae6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -65,9 +65,9 @@ grunt.initConfig({ 'app/bin/lein.jar': leinJarUrl }, - 'download-atom-shell': { + 'download-electron': { version: '0.20.5', - outputDir: 'atom-shell' + outputDir: 'electron' } }); @@ -79,7 +79,7 @@ grunt.initConfig({ grunt.loadNpmTasks('grunt-contrib-less'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-curl'); -grunt.loadNpmTasks('grunt-download-atom-shell'); +grunt.loadNpmTasks('grunt-download-electron'); if (os === "mac") { grunt.loadNpmTasks('grunt-appdmg'); } @@ -91,7 +91,7 @@ grunt.loadNpmTasks('winresourcer'); grunt.registerTask('setup', [ 'curl', - 'download-atom-shell', + 'download-electron', 'ensure-config-exists', 'build-lein-profile-tool' ]); @@ -150,7 +150,7 @@ grunt.registerTask('launch', function() { mac: "Atom.app/Contents/MacOS/Atom", linux: "atom" }[os]; - exec(path.join("atom-shell", exe) + " app"); + exec(path.join("electron", exe) + " app"); }); //------------------------------------------------------------------------------ @@ -224,7 +224,7 @@ function getBuildMeta() { function getReleasePaths(build) { var paths = { - atom: "atom-shell", + atom: "electron", builds: "builds", devApp: "app", rootPkg: "package.json" diff --git a/package.json b/package.json index 9e6cb71..ef271d9 100755 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "grunt-contrib-less": "0.11.4", "grunt-contrib-watch": "0.6.1", "grunt-curl": "2.0.3", - "grunt-download-atom-shell": "0.10.0", + "grunt-download-electron": "2.1.0", "winresourcer": "0.9.0", "moment": "2.9.0", "shelljs": "0.3.0"