mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
Merge pull request #263 from pulsar-edit/fix-installing-shell-commands-to-PATH
Fix installing shell commands to path (macOS)
This commit is contained in:
commit
c59d08a182
@ -60,8 +60,8 @@ module.exports = class CommandInstaller {
|
||||
|
||||
installAtomCommand(askForPrivilege, callback) {
|
||||
this.installCommand(
|
||||
path.join(this.getResourcesDirectory(), 'app', 'pulsar.sh'),
|
||||
this.getCommandNameForChannel('pulsar'),
|
||||
path.join(this.getResourcesDirectory(), 'pulsar.sh'),
|
||||
'pulsar',
|
||||
askForPrivilege,
|
||||
callback
|
||||
);
|
||||
@ -72,12 +72,11 @@ module.exports = class CommandInstaller {
|
||||
path.join(
|
||||
this.getResourcesDirectory(),
|
||||
'app',
|
||||
'apm',
|
||||
'node_modules',
|
||||
'.bin',
|
||||
'ppm',
|
||||
'bin',
|
||||
'apm'
|
||||
),
|
||||
this.getCommandNameForChannel('apm'),
|
||||
'ppm',
|
||||
askForPrivilege,
|
||||
callback
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user