Use 7z instead of powershell native compression

This commit is contained in:
Kevin Zhang 2021-07-27 22:39:46 +08:00 committed by GitHub
parent 8f5848fadc
commit 106812c547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ function Publish-Portable ($outputLocation, $version) {
& $outputLocation\Flow-Launcher-v$v.exe --silent | Out-Null
mkdir "$env:LocalAppData\FlowLauncher\app-$version\UserData"
Compress-Archive -Path $env:LocalAppData\FlowLauncher -DestinationPath $outputLocation\Flow-Launcher-Portable.zip
7z a $outputLocation\Flow-Launcher-Portable.zip $env:LocalAppData\FlowLauncher
}
function Main {