Skip to content

Commit

Permalink
Add missing directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Jul 12, 2024
1 parent 2a7ab27 commit 7a7a6bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/package_chrome_extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ if [ $MV -eq 2 ]; then
echo "Packing MV2 extension"
pwd & ls -l
cat manifest.json
zip -r ../build/kiwix-chrome-unsigned-extension-$VERSION.zip www i18n backgroundscript.js manifest.json LICENSE-GPLv3.txt service-worker.js README.md
zip -r ../build/kiwix-chrome-unsigned-extension-$VERSION.zip www _locales i18n backgroundscript.js manifest.json LICENSE-GPLv3.txt service-worker.js README.md
else
echo "Packing MV3 extension"
pwd & ls -l
cat manifest.json
zip -r ../build/kiwix-chrome-unsigned-extension-$VERSION.zip www i18n manifest.json LICENSE-GPLv3.txt service-worker.js README.md
zip -r ../build/kiwix-chrome-unsigned-extension-$VERSION.zip www _locales i18n manifest.json LICENSE-GPLv3.txt service-worker.js README.md
fi
cd ..
ls -l build/kiwix-chrome-unsigned-extension-$VERSION.zip
Expand Down
4 changes: 2 additions & 2 deletions scripts/package_firefox_extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi
cd tmp
if [ "${TAG}zz" == "zz" ]; then
echo "Packaging unsigned Firefox extension, version $VERSION"
zip -r ../build/kiwix-firefox-unsigned-extension-$VERSION.zip www i18n backgroundscript.js manifest.json LICENSE-GPLv3.txt service-worker.js README.md
zip -r ../build/kiwix-firefox-unsigned-extension-$VERSION.zip www _locales i18n backgroundscript.js manifest.json LICENSE-GPLv3.txt service-worker.js README.md

if [ "${DRYRUN}zz" == "zz" ]; then
# Sign the extension with the Mozilla API through web-ext, if we're not packaging a public version
Expand Down Expand Up @@ -73,6 +73,6 @@ else
sed -i -e "s/[email protected]/[email protected]/" manifest.json

echo "Packaging unsigned 'listed' Firefox extension, version $VERSION"
zip -r ../build/kiwix-firefox-unsigned-listed-extension-$VERSION.zip www i18n backgroundscript.js manifest.json LICENSE-GPLv3.txt service-worker.js README.md
zip -r ../build/kiwix-firefox-unsigned-listed-extension-$VERSION.zip www _locales i18n backgroundscript.js manifest.json LICENSE-GPLv3.txt service-worker.js README.md
echo "*** This unsigned extension must be manually uploaded to Mozilla to be signed and distributed from their store ***"
fi

0 comments on commit 7a7a6bd

Please sign in to comment.