From c9ee6976f2a578fc99a5dbdc81de8b65c9cdabc1 Mon Sep 17 00:00:00 2001 From: y0soro Date: Wed, 11 Dec 2024 12:19:10 +0800 Subject: [PATCH] fix: fix zip file --- release.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index f5f1dc0..82bdeb8 100755 --- a/release.sh +++ b/release.sh @@ -16,6 +16,8 @@ for i in IMGUI*/; do install -TD "${DIR}/docs/IMGUI.HiDPI.Patcher.cfg" "./BepInEx/config/${name}.cfg" install -D "${DIR}/artifacts/bin/${name}/release/"*.dll -t ./BepInEx/patchers - tar --sort=name --owner=root:0 --group=root:0 --mtime='UTC 1970-01-01' \ - -a -cf "$DIR/artifacts/${name}-v${version}.zip" BepInEx + zipFile="$DIR/artifacts/${name}-v${version}.zip" + + rm -f $zipFile + zip -r $zipFile . done