mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-27 05:01:45 +00:00
using -Force flag on Expand-Archive to use install as updater
This commit is contained in:
parent
e06b22622e
commit
919b674d56
@ -48,7 +48,7 @@ if ($isRelease)
|
|||||||
Invoke-RestMethod "https://github.com/Baipyrus/ProxySwitcher/releases/latest/download/ProxySwitcher.zip" -OutFile $tmpPRSWzip
|
Invoke-RestMethod "https://github.com/Baipyrus/ProxySwitcher/releases/latest/download/ProxySwitcher.zip" -OutFile $tmpPRSWzip
|
||||||
|
|
||||||
# Expand Archive to program directory
|
# Expand Archive to program directory
|
||||||
Expand-Archive $tmpPRSWzip -DestinationPath $programPath
|
Expand-Archive $tmpPRSWzip -DestinationPath $programPath -Force
|
||||||
}
|
}
|
||||||
|
|
||||||
# Add program to PATH for cli application
|
# Add program to PATH for cli application
|
||||||
|
Loading…
Reference in New Issue
Block a user