Skip to content

Commit

Permalink
Update asset to WAU-Configurator.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanitho committed Dec 13, 2023
1 parent ecdef00 commit 37df1f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/WAU/Gui.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ function Get-WAUConfiguratorLatestVersion {
{
$WAUConfiguratorSaveFile = New-Object System.Windows.Forms.SaveFileDialog
$WAUConfiguratorSaveFile.Filter = "Zip file (*.zip)|*.zip"
$WAUConfiguratorSaveFile.FileName = "WAU_$WAUConfiguratorLatestVersion.zip"
$WAUConfiguratorSaveFile.FileName = "WAU-Configurator_$WAUConfiguratorLatestVersion.zip"
$response = $WAUConfiguratorSaveFile.ShowDialog() # $response can return OK or Cancel
if ( $response -eq 'OK' ) {
Start-PopUp "Downloading WAU Configurator $WAUConfiguratorLatestVersion..."
$WAUConfiguratorDlLink = "https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v$WAUConfiguratorLatestVersion/WAU.zip"
$WAUConfiguratorDlLink = "https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v$WAUConfiguratorLatestVersion/WAU-Configurator.zip"
Invoke-WebRequest -Uri $WAUConfiguratorDlLink -OutFile $WAUConfiguratorSaveFile.FileName -UseBasicParsing
$UpdateWindow.DialogResult = [System.Windows.Forms.DialogResult]::OK
$UpdateWindow.Close()
Expand Down

0 comments on commit 37df1f4

Please sign in to comment.