     cp 'static', path.join(APP_DIR, 'static'), filter: /.+\.less$/
     cp 'themes', path.join(APP_DIR, 'themes'), filter: /.+\.(cson|less)$/
 
-    grunt.task.run('compile')
+    grunt.file.recurse path.join('resources/mac'), (sourcePath, rootDirectory, subDirectory='', filename) ->
+      unless /.+\.plist/.test(sourcePath)
+        grunt.file.copy(sourcePath, path.resolve(APP_DIR, '..', subDirectory, filename))
+
+    grunt.task.run('compile', 'postbuild')
 
   grunt.registerTask 'install', 'Install the built application', ->
     rm INSTALL_DIR

INSTALL_DIR = path.join('/Applications', APP_NAME)

module.exports = (grunt) ->
  cp = (source, destination, {filter}={}) ->
    if grunt.file.isDir(source)
      grunt.file.recurse source, (sourcePath, rootDirectory, subDirectory='', filename) ->

{spawn} = require 'child_process'
fs = require 'fs'
path = require 'path'
_ = require 'underscore'
