-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1f83948
Showing
5 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
Icon | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.xcuserstate | ||
.idea/ | ||
*.ipr | ||
*.iws | ||
*.iml | ||
out/ | ||
.idea_modules/ | ||
atlassian-ide-plugin.xml | ||
com_crashlytics_export_strings.xml | ||
bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Author</key> | ||
<string>Gerard Delmàs</string> | ||
<key>Builder Version</key> | ||
<string>9537.77.4</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Github Tower</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>de.dreamlab.githubtower</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>Chrome</key> | ||
<dict/> | ||
<key>Content</key> | ||
<dict> | ||
<key>Scripts</key> | ||
<dict> | ||
<key>End</key> | ||
<array> | ||
<string>main.js</string> | ||
</array> | ||
</dict> | ||
</dict> | ||
<key>Description</key> | ||
<string>Use Github's "Clone in Desktop" button with Tower</string> | ||
<key>ExtensionInfoDictionaryVersion</key> | ||
<string>1.0</string> | ||
<key>Permissions</key> | ||
<dict> | ||
<key>Website Access</key> | ||
<dict> | ||
<key>Allowed Domains</key> | ||
<array> | ||
<string>github.com</string> | ||
</array> | ||
<key>Include Secure Pages</key> | ||
<true/> | ||
<key>Level</key> | ||
<string>Some</string> | ||
</dict> | ||
</dict> | ||
<key>Website</key> | ||
<string>https://github.com/gdelmas/GithubTower</string> | ||
</dict> | ||
</plist> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
(function() { | ||
var aElements = document.getElementsByTagName('a'); | ||
|
||
for ( var i = 0; i < aElements.length; i++) { | ||
var aElement = aElements[i]; | ||
var dataUrl = aElement.getAttribute("data-url"); | ||
|
||
if ( dataUrl != null && dataUrl.indexOf('github-mac://') == 0 ) { | ||
aElement.href = dataUrl; | ||
break; | ||
} | ||
} | ||
}()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
**Github Tower** is a lightweight Safari extension that allows you to use Github's "Clone in Desktop" button to open [Tower.app](http://www.git-tower.com) without the need of having the Github.app installed. | ||
|
||
#Setup | ||
Download, open and install [GithubTower.safariextz](https://github.com/gdelmas/GithubTower/releases). In [Tower.app](http://www.git-tower.com) > Settings > Integration select "Tower" to open repositories from github.com. | ||
|
||
#Lightweight | ||
Github's "Clone in Desktop" button only works if the official Github.app is installed on OS X. The [Github.app](https://mac.github.com) spawns a [helper "GitHub Conduit.app"](https://help.github.com/articles/github-conduit) which will always be running on the system. This helper has a webserver constantly listening for requests on the users local machine port 25035. If the Github website can reach this server it changes the "Clone in Desktop" button links to open in the users local Git App instead of redirecting to https://mac.github.com. | ||
|
||
The Safari extensions eliminates the need to have a local webserver process running by injecting [13 lines of code](https://github.com/gdelmas/GithubTower/blob/master/GithubTower.safariextension/main.js) only into Github's website. | ||
|
||
#Tower | ||
Tower 2 is a wonderful Git client for OS X. It brings all of Git’s powerful features to your desktop. Try it out here: [http://www.git-tower.com](http://www.git-tower.com) |