perf: speed up ziggy initialization by using less aggressive binary compression
This commit is contained in:
@@ -64,9 +64,9 @@ elif [ "$1" = "ziggy" ]; then
|
|||||||
|
|
||||||
if [ "$2" = "-c" ]; then
|
if [ "$2" = "-c" ]; then
|
||||||
echo "Compressing binaries..."
|
echo "Compressing binaries..."
|
||||||
upx --brute "$out_dir/ziggy-windows.exe"
|
upx "$out_dir/ziggy-windows.exe"
|
||||||
upx --brute "$out_dir/ziggy-linux"
|
upx "$out_dir/ziggy-linux"
|
||||||
upx --brute "$out_dir/ziggy-darwin"
|
upx "$out_dir/ziggy-darwin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset GOARCH
|
unset GOARCH
|
||||||
|
@@ -64,9 +64,9 @@ elseif ($args[0] -eq "ziggy") {
|
|||||||
|
|
||||||
if ($args[1] -eq "-c") {
|
if ($args[1] -eq "-c") {
|
||||||
Write-Output "Compressing binaries..."
|
Write-Output "Compressing binaries..."
|
||||||
upx --brute "$OutDir/ziggy-windows.exe"
|
upx "$OutDir/ziggy-windows.exe"
|
||||||
upx --brute "$OutDir/ziggy-linux"
|
upx "$OutDir/ziggy-linux"
|
||||||
upx --brute "$OutDir/ziggy-darwin"
|
upx "$OutDir/ziggy-darwin"
|
||||||
}
|
}
|
||||||
|
|
||||||
Remove-Item Env:\GOOS
|
Remove-Item Env:\GOOS
|
||||||
|
Reference in New Issue
Block a user