Skip to content

Commit

Permalink
Merge pull request #9 from jrogers512/patch-1
Browse files Browse the repository at this point in the history
Add build info to README
  • Loading branch information
kerma authored Mar 22, 2017
2 parents ba806ea + 51295e5 commit 8d77a3c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ As there seems no other elegant way of doing it you need some Objective-C code.
The code uses Launch Services. More info on
[Launch Services Reference](https://developer.apple.com/library/mac/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html)


Build
-----
1. Build it.

`
cd defaultbrowser
xcodebuild -project defaultbrowser.xcodeproj -alltargets -configuration Release
`

2. Move it into your path (replace ~/bin to whatever you like)

`cp build/Release/defaultbrowser ~/bin/`

Usage
-----

Expand All @@ -18,4 +32,4 @@ You can set the default browser with:

defaultbrowser -set chrome

Running defaultbrowser without arguments shows the current setting.
Running defaultbrowser without arguments shows the current setting.

0 comments on commit 8d77a3c

Please sign in to comment.