simplify setup process

This commit is contained in:
yusing
2025-02-11 05:05:56 +08:00
parent 2c57e439d5
commit 3332ce34c5
21 changed files with 386 additions and 206 deletions

View File

@@ -32,6 +32,7 @@ func readFile(f *zip.File) ([]byte, error) {
func ZipCert(ca, crt, key []byte) ([]byte, error) {
data := bytes.NewBuffer(nil)
data.Grow(6144)
zipWriter := zip.NewWriter(data)
defer zipWriter.Close()