From 550b3f24d4d42252cc6e4e7879f9b0046c6faac7 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 26 Mar 2024 19:19:02 +0100 Subject: [PATCH] Reduce size of xpi file Don't include directory and UNIX file attribute information when zipping. That information is not needed. This reduces the size of the resulting xpi file. Signed-off-by: Stefan Weil --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d53c157..9408639 100755 --- a/build.sh +++ b/build.sh @@ -6,4 +6,4 @@ if [ -z "$version" ]; then fi mkdir -p build -(cd src && zip -r ../build/zotero-ocr-${version}.xpi * -x ".*") +(cd src && zip -DX -r ../build/zotero-ocr-${version}.xpi * -x ".*")