fix(revert/gui): update form only after finished

main
Plínio Larrubia 2 years ago committed by Plínio Larrubia
parent 8d63d1892a
commit 0ff1a5fcf8
No known key found for this signature in database
GPG Key ID: 057B0A87CB137C69

@ -483,11 +483,11 @@ function Show-GUI() {
"optimize-windows-features.ps1",
"reinstall-pre-installed-apps.ps1"
)
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$Global:Revert = $false
$PictureBox1.ImageLocation = "$PSScriptRoot\src\assets\peepo-leaving.gif"
$PictureBox1.SizeMode = 'StretchImage'
$Form.Update()
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$Global:Revert = $false
})
$RemoveMSEdge.Add_Click( {

Loading…
Cancel
Save