mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 15:56:10 +08:00
Don't symlink /usr/bin/apm on Linux and Mac.
This makes us conflict with the official 'atom' Linux package. No bueno. Doesn't really make sense for us to install this system-wide on Mac either. Fixes T3713.
This commit is contained in:
parent
1978d1db9e
commit
0781326552
|
@ -164,8 +164,6 @@ module.exports = (grunt) ->
|
|||
cp 'static', path.join(appDir, 'static')
|
||||
|
||||
cp path.join('apm', 'node_modules', 'atom-package-manager'), path.resolve(appDir, '..', 'new-app', 'apm'), filter: filterNodeModule
|
||||
if process.platform isnt 'win32'
|
||||
fs.symlinkSync(path.join('..', '..', 'bin', 'apm'), path.resolve(appDir, '..', 'new-app', 'apm', 'node_modules', '.bin', 'apm'))
|
||||
|
||||
if process.platform is 'darwin'
|
||||
grunt.file.recurse path.join('build', 'resources', 'mac'), (sourcePath, rootDirectory, subDirectory='', filename) ->
|
||||
|
|
Loading…
Reference in a new issue