fix(packaging): Resolve codesign issue on 10.11 due to bad symlink

This commit is contained in:
Ben Gotow 2015-10-30 15:27:39 -07:00
parent 50576e59e3
commit 595f80f75f

View file

@ -174,6 +174,7 @@ module.exports = (grunt) ->
apmPackageDir = path.join(apmInstallDir, 'node_modules', 'atom-package-manager')
for name in fs.readdirSync(apmPackageDir)
fs.renameSync path.join(apmPackageDir, name), path.join(apmInstallDir, name)
fs.unlinkSync(path.join(apmInstallDir, 'node_modules', '.bin', 'apm'))
fs.rmdirSync(apmPackageDir)
if process.platform is 'darwin'