 
   grunt.registerTask 'codesign', 'Codesign the app', ->
     done = @async()
-    args = ["-f", "-v", "-s", "Developer ID Application: GitHub", "#{path.join(BUILD_DIR, APP_NAME)}"]
+    args = ["-f", "-v", "-s", "Developer ID Application: GitHub", SHELL_APP_DIR]
     exec "codesign", args, (error) -> done(!error?)
 
   grunt.registerTask 'install', 'Install the built application', ->
     rm INSTALL_DIR
     mkdir path.dirname(INSTALL_DIR)
-    cp path.join(BUILD_DIR, APP_NAME), INSTALL_DIR
+    cp SHELL_APP_DIR, INSTALL_DIR
 
   grunt.registerTask 'bootstrap', 'Bootstrap modules and atom-shell', ->
     done = @async()

        commands.push (callback) ->
          args = [
            version
            'resources/mac/app-Info.plist'
            'Atom.app/Contents/Info.plist'
          ]
          exec('script/generate-info-plist', args, env: {BUILT_PRODUCTS_DIR: BUILD_DIR}, callback)

  grunt.registerTask('compile', ['coffee', 'less', 'cson'])
  grunt.registerTask('lint', ['coffeelint', 'csslint', 'lesslint'])
  grunt.registerTask('ci', ['clean', 'bootstrap', 'build', 'test'])
  grunt.registerTask('default', ['build'])
