Skip to content

Commit

Permalink
Reduce size of xpi file
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stweil committed Mar 26, 2024
1 parent 4c554d6 commit 550b3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ".*")

0 comments on commit 550b3f2

Please sign in to comment.