Skip to content

Commit 03039e6

Browse files
committed
tweak build script
1 parent 3fda72e commit 03039e6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ set -xeou pipefail
44
version="$(jq -r .version <manifest.json)"
55
inputs=(icons manifest.json service_worker.js popup.html popup-animation.gif)
66
output="kagi_chrome_${version}.zip"
7+
unpacked_dir="unpacked"
78

89
rm -f "$output"
910
zip -r "$output" "${inputs[@]}"
10-
unzip -d unpacked "$output" # test from this dir to ensure full asset capture
11+
12+
# test from this dir to ensure full asset capture
13+
rm -rf "$unpacked_dir"
14+
unzip -d "$unpacked_dir" "$output"

0 commit comments

Comments
 (0)