🐧 Set permissions to 777 when installing

This commit is contained in:
Kevin Sawicki
2014-04-01 11:48:29 -07:00
parent 57844c2ca4
commit f04ce025f4

View File

@@ -1,5 +1,6 @@
fs = require 'fs'
path = require 'path'
fs = require 'fs-plus'
runas = null
module.exports = (grunt) ->
@@ -26,6 +27,7 @@ module.exports = (grunt) ->
mkdir binDir
cp 'atom.sh', path.join(binDir, 'atom')
fs.chmodSync(path.join(binDir, 'atom'), "777")
rm shareDir
mkdir path.dirname(shareDir)
cp shellAppDir, shareDir