This repository was archived by the owner on Oct 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ $InputFile = "$Path\Sources\Winget-Install-GUI.ps1"
77$OutputFile = " $Path \Compiler\WiGui.exe"
88$Icon = " $Path \Sources\WiGui.ico"
99$Title = " WiGui"
10- $AppVersion = " 1.6.1 "
10+ $AppVersion = " 1.6.2 "
1111Invoke-ps2exe - inputFile $InputFile - outputFile $OutputFile - noConsole - requireAdmin - title $Title - version $AppVersion - copyright " Romanitho" - product $Title - icon $Icon - noerror
Original file line number Diff line number Diff line change 1818
1919<# APP INFO #>
2020
21- $Script :WiGuiVersion = " 1.6.1 "
21+ $Script :WiGuiVersion = " 1.6.2 "
2222$Script :WAUGithubLink = " https://github.com/Romanitho/Winget-AutoUpdate/archive/refs/tags/v1.11.4.zip"
2323$Script :WIGithubLink = " https://github.com/Romanitho/Winget-Install/archive/refs/tags/v1.7.4.zip"
2424$Script :WingetLink = " https://github.com/microsoft/winget-cli/releases/download/v1.3.1391-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
@@ -1135,9 +1135,10 @@ function Start-Uninstallations ($AppToUninstall) {
11351135 Get-GithubRepository $WIGithubLink
11361136 }
11371137
1138- # Run Winget-Install
1138+ # Run Winget-Install -Uninstall
11391139 $WIInstallFile = (Resolve-Path $TestPath )[0 ].Path
1140- Start-Process " powershell.exe" - Argument " -NoProfile -ExecutionPolicy Bypass -Command `" $WIInstallFile -AppIDs $AppToUninstall -Uninstall`" " - Wait - Verb RunAs
1140+ $AppsToUninstall = " '$ ( $AppToUninstall -join " ','" ) '"
1141+ Start-Process " powershell.exe" - Argument " -NoProfile -ExecutionPolicy Bypass -Command `" $WIInstallFile -AppIDs $AppsToUninstall -Uninstall`" " - Wait - Verb RunAs
11411142
11421143 Close-PopUp
11431144 }
You can’t perform that action at this time.
0 commit comments