From 106812c547067bce912f69b30dd3d6f5656f5387 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 27 Jul 2021 22:39:46 +0800 Subject: [PATCH] Use 7z instead of powershell native compression --- Scripts/post_build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index b573b984b64..57995125759 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -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 {