diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:47:55 +0000 |
commit | 31d6ff6f931696850c348007241195ab3b2eddc7 (patch) | |
tree | 615cb1c57ce9f6611bad93326b9105098f379609 /tools/make-browser.sh | |
parent | Initial commit. (diff) | |
download | ublock-origin-31d6ff6f931696850c348007241195ab3b2eddc7.tar.xz ublock-origin-31d6ff6f931696850c348007241195ab3b2eddc7.zip |
Adding upstream version 1.55.0+dfsg.upstream/1.55.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/make-browser.sh')
-rwxr-xr-x | tools/make-browser.sh | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tools/make-browser.sh b/tools/make-browser.sh new file mode 100755 index 0000000..b37280d --- /dev/null +++ b/tools/make-browser.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +# +# This script assumes a linux environment + +set -e + +DES=dist/build/uBlock0.browser + +mkdir -p $DES/js +cp src/js/base64-custom.js $DES/js +cp src/js/biditrie.js $DES/js +cp src/js/filtering-context.js $DES/js +cp src/js/hntrie.js $DES/js +cp src/js/static-filtering-parser.js $DES/js +cp src/js/static-net-filtering.js $DES/js +cp src/js/static-filtering-io.js $DES/js +cp src/js/text-utils.js $DES/js +cp src/js/uri-utils.js $DES/js + +mkdir -p $DES/js/wasm +cp -R src/js/wasm $DES/js/ + +mkdir -p $DES/lib +cp -R src/lib/punycode.js $DES/lib/ +cp -R src/lib/publicsuffixlist $DES/lib/ +cp -R src/lib/regexanalyzer $DES/lib/ + +mkdir -p $DES/data +cp -R submodules/uAssets/thirdparties/publicsuffix.org/list/* \ + $DES/data +cp -R submodules/uAssets/thirdparties/easylist-downloads.adblockplus.org/* \ + $DES/data + +cp platform/browser/*.html $DES/ +cp platform/browser/*.js $DES/ +cp LICENSE.txt $DES/ |