fix zip
parent
9f165a8b3d
commit
4890e51a69
7
Gui.ps1
7
Gui.ps1
|
@ -336,8 +336,8 @@ function Get-WAUConfiguratorLatestVersion {
|
|||
$DownloadButton.add_click(
|
||||
{
|
||||
$WAUConfiguratorSaveFile = New-Object System.Windows.Forms.SaveFileDialog
|
||||
$WAUConfiguratorSaveFile.Filter = "Exe file (*.exe)|*.exe"
|
||||
$WAUConfiguratorSaveFile.FileName = "WAUConfigurator_$WAUConfiguratorLatestVersion.exe"
|
||||
$WAUConfiguratorSaveFile.Filter = "Zip file (*.zip)|*.zip"
|
||||
$WAUConfiguratorSaveFile.FileName = "WAU_$WAUConfiguratorLatestVersion.zip"
|
||||
$response = $WAUConfiguratorSaveFile.ShowDialog() # $response can return OK or Cancel
|
||||
if ( $response -eq 'OK' ) {
|
||||
Start-PopUp "Downloading WAU Configurator $WAUConfiguratorLatestVersion..."
|
||||
|
@ -347,6 +347,9 @@ function Get-WAUConfiguratorLatestVersion {
|
|||
$UpdateWindow.Close()
|
||||
Start-Sleep 3
|
||||
|
||||
#Open folder
|
||||
Start-Process (Split-Path -parent $WAUConfiguratorSaveFile.FileName)
|
||||
|
||||
Close-PopUp
|
||||
Exit 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue