Skip to content

Commit

Permalink
swc-installation-test-2.py: Add 'safari'
Browse files Browse the repository at this point in the history
This works adds support for virtual-browser on OS X.  Matt Davis
reports the locations of Firefox and Chrome as:

  /Applications/Firefox.app
  /Applications/Google\ Chrome.app

but I'm not sure where the executables live underneath those
directories, which we'd probably need if we wanted to extract version
numbers.
  • Loading branch information
W. Trevor King committed Mar 6, 2013
1 parent 7c04988 commit 2f27dfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup/swc-installation-test-2.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ def _get_version(self):
'textmate', 'TextMate'),
([_os.path.join(_os.sep, 'Applications', 'TextWrangler.app')],
'textwrangler', 'TextWrangler'),
([_os.path.join(_os.sep, 'Applications', 'Safari.app')],
'safari', 'Safari'),
([_os.path.join(_os.sep, 'Applications', 'Xcode.app'), # OS X >=1.7
_os.path.join(_os.sep, 'Developer', 'Applications', 'Xcode.app'
) # OS X 1.6,
Expand Down Expand Up @@ -792,6 +794,7 @@ def _check(self):
'firefox',
'google-chrome',
'chromium',
'safari',
)),
('virtual-pypi-installer', 'PyPI installer', (
'easy_install',
Expand Down

0 comments on commit 2f27dfa

Please sign in to comment.