mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Build script changes
This commit is contained in:
parent
48146f8351
commit
e384f2b612
2 changed files with 5 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -83,8 +83,6 @@ mv3-edge: dist/build/uBOLite.edge
|
|||
|
||||
dist/build/uBOLite.safari: tools/make-mv3.sh $(sources) $(mv3-safari-deps) $(mv3-data) dist/build/mv3-data
|
||||
tools/make-mv3.sh safari
|
||||
node platform/mv3/safari/patch-extension.js \
|
||||
packageDir=./dist/build/uBOLite.safari
|
||||
|
||||
mv3-safari: dist/build/uBOLite.safari
|
||||
|
||||
|
|
|
|||
|
|
@ -132,6 +132,11 @@ if [ "$PLATFORM" = "edge" ]; then
|
|||
node tools/make-edge.mjs
|
||||
fi
|
||||
|
||||
# For Safari, we must fix the package for compliance
|
||||
if [ "$PLATFORM" = "safari" ]; then
|
||||
node platform/mv3/safari/patch-extension.js packageDir="$UBOL_DIR"
|
||||
fi
|
||||
|
||||
echo "*** uBOLite.$PLATFORM: extension ready"
|
||||
echo "Extension location: $UBOL_DIR/"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue