Fix Edge build script

This commit is contained in:
Raymond Hill 2025-04-19 14:17:46 -04:00
parent 8a14a8dc6b
commit 39913a8212
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -42,6 +42,12 @@ echo "BEFORE=$BEFORE"
DES="dist/build/uBOLite.$PLATFORM"
if [ "$PLATFORM" = "edge" ]; then
MANIFEST_DIR="chromium"
else
MANIFEST_DIR="$PLATFORM"
fi
rm -rf $DES
mkdir -p $DES
@ -85,7 +91,7 @@ cp -R "$UBO_DIR/src/img/flags-of-the-world" "$DES"/img
cp LICENSE.txt "$DES"/
echo "*** uBOLite.mv3: Copying mv3-specific files"
cp platform/mv3/"$PLATFORM"/manifest.json "$DES"/
cp platform/mv3/"$MANIFEST_DIR"/manifest.json "$DES"/
cp platform/mv3/extension/*.html "$DES"/
cp platform/mv3/extension/*.json "$DES"/
cp platform/mv3/extension/css/* "$DES"/css/