Skip to content

Commit

Permalink
Remove conditional from Preview in All Active Browsers
Browse files Browse the repository at this point in the history
This is no longer needed as support was cut for 10.4 and under long ago.
  • Loading branch information
infininight committed Dec 19, 2015
1 parent d277841 commit 36b90bc
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions Commands/Preview in All Active Browsers.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,25 @@ if proclist =~ %r{/Contents/MacOS/Safari.*WebKit}
active << "WebKit"
end
# TODO: Change when Leopard Only
# On Leopard use the -g option to open in background.
if os =~ /^10\.(5|6|7)/
active.each {|p| `open -g -a #{e_sh(p)} #{e_sh(url)}` }
else
active.each {|p| `open -a #{e_sh(p)} #{e_sh(url)}` }
end</string>
active.each {|p| `open -g -a #{e_sh(p)} #{e_sh(url)}` }
</string>
<key>input</key>
<string>none</string>
<key>inputFormat</key>
<string>text</string>
<key>name</key>
<string>Open Document in Running Browser(s)</string>
<key>output</key>
<key>outputCaret</key>
<string>afterOutput</string>
<key>outputFormat</key>
<string>text</string>
<key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>text.html</string>
<key>uuid</key>
<string>970EE6B4-A091-11D9-A5A2-000D93C8BE28</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>

0 comments on commit 36b90bc

Please sign in to comment.