Create make-chromium.sh

This commit is contained in:
Kenneth Hendricks 2024-10-22 18:18:01 -04:00 committed by GitHub
parent 5691748e52
commit 30aa38c065
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
tools/make-chromium.sh Normal file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -e
# Define build destination
DES=dist/build/FMHY-SafeGuard.chromium
rm -rf $DES
mkdir -p $DES
# Copy files specific to Chrome extension
cp -R platform/chromium/* $DES/
# Create a versioned ZIP package
pushd dist/build
zip -r FMHY-SafeGuard_"$1".chromium.zip FMHY-SafeGuard.chromium
popd