mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
🐧 Set permissions to 777 when installing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user