From b7bcea4cd6a9f752392929b52b45d07fa3a4fc71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Mon, 1 May 2023 00:42:54 +0800 Subject: [PATCH] fix zip --- frontend/vben/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vben/main.go b/frontend/vben/main.go index ce6e374..540c14e 100644 --- a/frontend/vben/main.go +++ b/frontend/vben/main.go @@ -10,7 +10,7 @@ import ( //go:generate npm run build -//go:generate zip -9 -r dist.zip -x "dist/.DS_Store" "dist/*/.DS_Store" dist/* +//go:generate zip -9 -r -D dist.zip dist/* -x "dist/.DS_Store" "dist/*/.DS_Store" //go:embed dist.zip var distzipbytes []byte