mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
cli interface points to /Application/Atom.app
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user