Copy dlls during build task

This commit is contained in:
Kevin Sawicki
2014-06-19 11:55:03 -07:00
parent 5e4f34f92c
commit 5195a4aaa7

View File

@@ -86,6 +86,10 @@ module.exports = (grunt) ->
unless /.+\.plist/.test(sourcePath)
grunt.file.copy(sourcePath, path.resolve(appDir, '..', subDirectory, filename))
if process.platform is 'win32'
cp path.join('resources', 'win', 'msvcp100.dll'), shellAppDir
cp path.join('resources', 'win', 'msvcr100.dll'), shellAppDir
dependencies = ['compile', "generate-license:save"]
dependencies.push('copy-info-plist') if process.platform is 'darwin'
dependencies.push('set-exe-icon') if process.platform is 'win32'