Created
May 9, 2012 22:14
-
-
Save kogir/2649310 to your computer and use it in GitHub Desktop.
Github Launcher
This file contains hidden or 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
| @ECHO OFF | |
| REM Launches Github For Windows and then deletes the Git Shell desktop shortcut. | |
| REM We don't want our pesky window to be visible the whole time. | |
| IF "Continue"=="%1" ( | |
| GOTO Continue | |
| ) | |
| START "Github Launcher" /MIN %0 Continue | |
| GOTO EXIT | |
| :Continue | |
| ECHO Launching Github For Windows | |
| START github-windows:// | |
| REM Wait a bit for the link to be created. | |
| TIMEOUT /T 10 /NOBREAK | |
| REM Delete the link. | |
| DEL "%USERPROFILE%\Desktop\Git Shell.lnk" | |
| :EXIT | |
| EXIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment