Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
WinGit(Inno): Add better readable license file
Browse files Browse the repository at this point in the history
The font of the license text in the installer was hardly readable because
it was so small. It had to be so small to make the line width match the
window width. The new license file comes as an RTF document with nicer
formatting which is much more readable.
  • Loading branch information
Sebastian Schuberth authored and sprohaska committed Oct 26, 2007
1 parent f951f76 commit 21e95e6
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 286 deletions.
6 changes: 1 addition & 5 deletions share/WinGit/install.iss
Expand Up @@ -20,7 +20,7 @@ ChangesEnvironment=yes
DefaultDirName={pf}\{#emit APP_NAME}
DefaultGroupName={#emit APP_NAME}
DisableReadyPage=yes
LicenseFile=gpl-2.0.txt
LicenseFile=gpl-2.0.rtf
UninstallDisplayIcon=etc\git.ico

; Cosmetic
Expand Down Expand Up @@ -147,10 +147,6 @@ procedure InitializeWizard;
var
LblGitBash,LblGitCmd,LblGitCmdTools,LblGitCmdToolsWarn:TLabel;
begin
// Use a mono spaced font in the license dialog. NOTE: This might be too small.
WizardForm.LicenseMemo.Font.Name:='Lucida Console';
WizardForm.LicenseMemo.Font.Size:=7;
// Create a custom page for modifying the environment.
EnvPage:=CreateCustomPage(
wpSelectTasks,
Expand Down
2 changes: 1 addition & 1 deletion share/WinGit/release.sh
Expand Up @@ -10,7 +10,7 @@ TMPDIR=/tmp/WinGit

/share/WinGit/copy-files.sh $TMPDIR &&
sed "s/msysGit/Git (version $version)/" < /etc/motd > $TMPDIR/etc/motd &&
cp /share/resources/gpl-2.0.txt /share/resources/git.bmp $TMPDIR &&
cp /share/resources/gpl-2.0.rtf /share/resources/git.bmp $TMPDIR &&
homewinpath=$(cd ~ ; pwd -W) &&
sed -e "s/%APPVERSION%/$version/" -e "s@%OUTPUTDIR%@$homewinpath@" \
< /share/WinGit/install.iss > $TMPDIR/install.iss &&
Expand Down

0 comments on commit 21e95e6

Please sign in to comment.