Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 8d21b21

Browse files
authored
fix stupid errase
1 parent 739a227 commit 8d21b21

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Sources/Winget-Install-GUI.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,15 @@ function Start-InstallGUI {
817817
$WiGuiForm.Name = "WiGuiForm"
818818
$WiGuiForm.StartPosition = [System.Windows.Forms.FormStartPosition]::CenterScreen
819819
$WiGuiForm.Text = "WiGui $WiGuiVersion"
820+
#
821+
# Custom
822+
#
823+
$WiGuiForm.Add_Shown({ $SearchTextBox.Select() })
824+
$WiGuiForm.Icon = [System.Drawing.Icon]::FromHandle(([System.Drawing.Bitmap]::new($stream).GetHIcon()))
825+
$NotifLevelComboBox.Text = "Full"
826+
$WAUInstallStatus = Get-WAUInstallStatus
827+
$WAUStatusLabel.Text = $WAUInstallStatus[0]
828+
$WAUStatusLabel.ForeColor = $WAUInstallStatus[1]
820829

821830

822831
## ACTIONS ##

0 commit comments

Comments
 (0)