mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
fix(packaging): Resolve codesign issue on 10.11 due to bad symlink
This commit is contained in:
parent
50576e59e3
commit
595f80f75f
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue