4 echo "Usage: $0 <version>"
8 TARGET
="$HOME"/PortableGit-
$1.exe
9 OPTS7
="-m0=lzma -mx=9 -md=64M"
13 "$(dirname $0)/copy-files.sh" $TMPDIR &&
15 7z a
$OPTS7 $TARGET7 * ||
18 (cat /share
/7-Zip/7zSD.sfx
&&
19 echo ';!@Install@!UTF-8!' &&
20 echo 'Progress="yes"' &&
21 echo 'Title="WinGit: MinGW Git + minimal MSys installation"' &&
22 echo 'BeginPrompt="This program installs a complete Git for MSys setup"' &&
23 echo 'CancelPrompt="Do you want to cancel WinGit installation?"' &&
24 echo 'ExtractDialogText="Please, wait..."' &&
25 echo 'ExtractPathText="Where do you want to install WinGit?"' &&
26 echo 'ExtractTitle="Extracting..."' &&
27 echo 'GUIFlags="8+32+64+256+4096"' &&
29 echo 'InstallPath="%PROGRAMFILES%\\Git"' &&
30 echo 'OverwriteMode="0"' &&
31 echo ';!@InstallEnd@!7z' &&
32 cat $TARGET7) > "$TARGET"