Skip to content

Commit adf0ce1

Browse files
committed
net-installer: install a desktop shortcut by default
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 2dc29ea commit adf0ce1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

net-installer/setup-git-sdk.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
CALL %cwd%\autorebase.bat
7272
)
7373

74+
@REM Install shortcut on the desktop
75+
@bash --login -c 'SHORTCUT="$HOME/Desktop/Git SDK @@BITNESS@@-bit.lnk"; test -f "$SHORTCUT" ^|^| create-shortcut.exe --icon-file /msys2.ico --work-dir / /mingw@@BITNESS@@_shell.bat "$SHORTCUT"'
76+
7477
@REM now clone the Git sources, build it, and start an interactive shell
7578
@mintty -i /msys2.ico bash --login -c "mkdir -p /usr/src && cd /usr/src && git clone -b @@GIT_BRANCH@@ -c core.autocrlf=false https://github.com/git-for-windows/git && cd git && make install; bash -i"
7679

0 commit comments

Comments
 (0)