From 8fab2e03da57611ec66a1d67d26dbbc80074629d Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:08:58 +0700 Subject: [PATCH] Revert "fix: Windows installer final screen stalls much longer" --- engine/templates/windows/installer-beta.iss | 2 +- engine/templates/windows/installer-nightly.iss | 2 +- engine/templates/windows/installer.iss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/templates/windows/installer-beta.iss b/engine/templates/windows/installer-beta.iss index 1127e1b97..56feecd6e 100644 --- a/engine/templates/windows/installer-beta.iss +++ b/engine/templates/windows/installer-beta.iss @@ -50,7 +50,7 @@ begin // Download llamacpp engine by default CortexInstallCmd := Format('"%s\cortex-beta.exe" engines install cortex.llamacpp', [ExpandedAppDir]); - Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode); + Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode); // Clear the status message after completion WizardForm.StatusLabel.Caption := ''; diff --git a/engine/templates/windows/installer-nightly.iss b/engine/templates/windows/installer-nightly.iss index 38d8a5903..9e5ce68d0 100644 --- a/engine/templates/windows/installer-nightly.iss +++ b/engine/templates/windows/installer-nightly.iss @@ -50,7 +50,7 @@ begin // Download llamacpp engine by default CortexInstallCmd := Format('"%s\cortex-nightly.exe" engines install cortex.llamacpp', [ExpandedAppDir]); - Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode); + Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode); // Clear the status message after completion WizardForm.StatusLabel.Caption := ''; diff --git a/engine/templates/windows/installer.iss b/engine/templates/windows/installer.iss index a9e4e10ca..32a0dfe09 100644 --- a/engine/templates/windows/installer.iss +++ b/engine/templates/windows/installer.iss @@ -50,7 +50,7 @@ begin // Download llamacpp engine by default CortexInstallCmd := Format('"%s\cortex.exe" engines install cortex.llamacpp', [ExpandedAppDir]); - Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode); + Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode); // Clear the status message after completion WizardForm.StatusLabel.Caption := '';