diff --git a/tools/make-firefox.sh b/tools/make-firefox.sh new file mode 100644 index 0000000..ccf33f6 --- /dev/null +++ b/tools/make-firefox.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -e + +# Define build destination +DES=dist/build/FMHY-SafeGuard.firefox +rm -rf $DES +mkdir -p $DES + +# Copy files specific to Firefox extension +cp -R platform/firefox/* $DES/ + +# Create a versioned XPI package +pushd dist/build +zip -r FMHY-SafeGuard_"$1".firefox.xpi FMHY-SafeGuard.firefox +popd