Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Bump Kitematic & fix checkbox bugs
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Morgan <[email protected]>
  • Loading branch information
jmorganca committed Nov 3, 2015
1 parent d8a4ada commit 4992538
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ENV BOOT2DOCKER_ISO_VERSION $DOCKER_VERSION
# RUN curl -fsSL -o /boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v$DOCKER_VERSION/boot2docker.iso
RUN curl -fsSL -o /boot2docker.iso https://github.com/tianon/boot2docker-legacy/releases/download/v$DOCKER_VERSION/boot2docker.iso

ENV KITEMATIC_VERSION 0.9.2
ENV KITEMATIC_VERSION 0.9.3
RUN curl -fsSL -o /kitematic.zip https://github.com/kitematic/kitematic/releases/download/v$KITEMATIC_VERSION/Kitematic-$KITEMATIC_VERSION-Mac.zip

ENV INSTALLER_VERSION 1.9.0-rc4
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ENV DOCKER_VERSION 1.9.0-rc4
ENV DOCKER_MACHINE_VERSION 0.5.0-rc4
ENV DOCKER_COMPOSE_VERSION 1.5.0rc3
ENV BOOT2DOCKER_ISO_VERSION $DOCKER_VERSION
ENV KITEMATIC_VERSION 0.9.2
ENV KITEMATIC_VERSION 0.9.3
ENV VIRTUALBOX_VERSION 5.0.8
ENV VIRTUALBOX_REVISION 103449
ENV GIT_VERSION 2.5.0
Expand Down
Binary file modified osx/mpkg/quickstart.app/Contents/Resources/Scripts/main.scpt
Binary file not shown.
42 changes: 12 additions & 30 deletions windows/Toolbox.iss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define MyAppName "Docker Toolbox"
#define MyAppPublisher "Docker"
#define MyAppURL "https://docker.com"
#define MyAppContact "https://docs.docker.com"
#define MyAppContact "https://docker.com"

#define b2dIsoPath "..\bundle\boot2docker.iso"
#define dockerCli "..\bundle\docker.exe"
Expand Down Expand Up @@ -33,8 +33,8 @@ Compression=lzma
SolidCompression=yes
WizardImageFile=windows-installer-side.bmp
WizardSmallImageFile=windows-installer-logo.bmp
WizardImageStretch=no
WizardImageBackColor=$22EBB8
WizardImageStretch=yes
WizardImageBackColor=$EBB822
UninstallDisplayIcon={app}\unins000.exe
SetupIconFile=toolbox.ico
ChangesEnvironment=true
Expand All @@ -51,8 +51,8 @@ Filename: "{win}\explorer.exe"; Parameters: "{userprograms}\Docker\"; Flags: pos

[Tasks]
Name: desktopicon; Description: "{cm:CreateDesktopIcon}"
Name: modifypath; Description: "Add docker.exe & docker-machine.exe to &PATH"
Name: upgradevm; Description: "Upgrade or Migrate Boot2Docker VM to latest version of Docker if it exists."
Name: modifypath; Description: "Add docker.exe && docker-machine.exe to &PATH"
Name: upgradevm; Description: "Upgrade or Migrate Boot2Docker VM"

[Components]
Name: "Docker"; Description: "Docker Client for Windows" ; Types: full custom; Flags: fixed
Expand Down Expand Up @@ -99,7 +99,6 @@ Root: HKCU; Subkey: "Environment"; ValueType:string; ValueName:"DOCKER_TOOLBOX_I
var
restart: boolean;
TrackingDisabled: Boolean;
DockerInstallDocs: TLabel;
TrackingCheckBox: TNewCheckBox;
function uuid(): String;
Expand Down Expand Up @@ -187,13 +186,6 @@ begin
Result := not DirExists('C:\Program Files\Git') or not FileExists('C:\Program Files\Git\git-bash.exe')
end;
procedure DocLinkClick(Sender: TObject);
var
ErrorCode: Integer;
begin
ShellExec('', 'https://docs.docker.com/installation/windows/', '', '', SW_SHOW, ewNoWait, ErrorCode);
end;
procedure TrackingCheckBoxClicked(Sender: TObject);
begin
if TrackingCheckBox.Checked then begin
Expand All @@ -210,23 +202,13 @@ var
WelcomePage: TWizardPage;
TrackingLabel: TLabel;
begin
DockerInstallDocs := TLabel.Create(WizardForm);
DockerInstallDocs.Parent := WizardForm;
DockerInstallDocs.Left := 8;
DockerInstallDocs.Top := WizardForm.ClientHeight - DockerInstallDocs.ClientHeight - 8;
DockerInstallDocs.Cursor := crHand;
DockerInstallDocs.Font.Color := clBlue;
DockerInstallDocs.Font.Style := [fsUnderline];
DockerInstallDocs.Caption := '{#MyAppName} installation documentation';
DockerInstallDocs.OnClick := @DocLinkClick;
DockerInstallDocs.Visible := True;
WelcomePage := PageFromID(wpWelcome)
WizardForm.WelcomeLabel2.AutoSize := True;
TrackingCheckBox := TNewCheckBox.Create(WizardForm);
TrackingCheckBox.Top := 168;
TrackingCheckBox.Top := WizardForm.WelcomeLabel2.Top + WizardForm.WelcomeLabel2.Height + 10;
TrackingCheckBox.Left := WizardForm.WelcomeLabel2.Left;
TrackingCheckBox.Width := WizardForm.WelcomeLabel2.Width;
TrackingCheckBox.Height := 40;
Expand All @@ -244,14 +226,14 @@ begin
TrackingLabel.Visible := True;
TrackingLabel.Left := WizardForm.WelcomeLabel2.Left;
TrackingLabel.Width := WizardForm.WelcomeLabel2.Width;
TrackingLabel.Top := 200;
TrackingLabel.Height := 100;
TrackingLabel.Top := TrackingCheckBox.Top + TrackingCheckBox.Height + 20;
TrackingLabel.Height := 300;
// Don't do this until we can compare versions
// Wizardform.ComponentsList.Checked[2] := NeedToInstallVirtualBox();
Wizardform.ComponentsList.ItemEnabled[2] := not NeedToInstallVirtualBox();
Wizardform.ComponentsList.Checked[4] := NeedToInstallGit();
Wizardform.ComponentsList.ItemEnabled[4] := not NeedToInstallGit();
// Wizardform.ComponentsList.Checked[3] := NeedToInstallVirtualBox();
Wizardform.ComponentsList.ItemEnabled[3] := not NeedToInstallVirtualBox();
Wizardform.ComponentsList.Checked[5] := NeedToInstallGit();
Wizardform.ComponentsList.ItemEnabled[5] := not NeedToInstallGit();
end;
function InitializeSetup(): boolean;
Expand Down

0 comments on commit 4992538

Please sign in to comment.