mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 16:08:24 +03:00
cli interface points to /Application/Atom.app
This commit is contained in:
parent
79df114102
commit
eb5c97edab
2
Rakefile
2
Rakefile
@ -64,7 +64,7 @@ task :install => :build do
|
||||
usr_bin = "/opt/github/bin"
|
||||
if Dir.exists?(usr_bin)
|
||||
cli_path = "#{usr_bin}/atom"
|
||||
`echo '#!/bin/sh\nopen #{path} -n --args --resource-path="#{ATOM_SRC}" --executed-from="$(pwd)" $@' > #{cli_path} && chmod 755 #{cli_path}`
|
||||
`echo '#!/bin/sh\nopen #{dest} -n --args --resource-path="#{ATOM_SRC}" --executed-from="$(pwd)" $@' > #{cli_path} && chmod 755 #{cli_path}`
|
||||
else
|
||||
stderr.puts "ERROR: `The Setup` is required to run the atom cli tool"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user