mirror of
https://github.com/fmhy/FMHY-SafeGuard.git
synced 2026-03-11 08:55:40 +00:00
Create make-chromium.sh
This commit is contained in:
parent
5691748e52
commit
30aa38c065
1 changed files with 16 additions and 0 deletions
16
tools/make-chromium.sh
Normal file
16
tools/make-chromium.sh
Normal 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
|
||||
Loading…
Reference in a new issue