From 919b674d56b0d3756aa92f5a3302db11faa89734 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Fri, 6 Sep 2024 12:43:52 +0200 Subject: [PATCH] using -Force flag on Expand-Archive to use install as updater --- install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index 22baa64..24beade 100644 --- a/install.ps1 +++ b/install.ps1 @@ -48,7 +48,7 @@ if ($isRelease) Invoke-RestMethod "https://github.com/Baipyrus/ProxySwitcher/releases/latest/download/ProxySwitcher.zip" -OutFile $tmpPRSWzip # Expand Archive to program directory - Expand-Archive $tmpPRSWzip -DestinationPath $programPath + Expand-Archive $tmpPRSWzip -DestinationPath $programPath -Force } # Add program to PATH for cli application