forked from dhowe/AdNauseam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake-assets.sh
executable file
·33 lines (20 loc) · 901 Bytes
/
make-assets.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env bash
#
# This script assumes a linux/OSX environment
DES=$1/assets
echo "*** Packaging assets in $DES... "
rm -rf $DES
cp -R ./assets $DES/
mkdir $DES/thirdparties
git submodule update --depth 1 --init
UASSETS=submodules/uAssets
cp -R $UASSETS/thirdparties/easylist-downloads.adblockplus.org $DES/thirdparties/
cp -R $UASSETS/thirdparties/pgl.yoyo.org $DES/thirdparties/
cp -R $UASSETS/thirdparties/publicsuffix.org $DES/thirdparties/
cp -R $UASSETS/thirdparties/urlhaus-filter $DES/thirdparties/
cp -R ./thirdparties/www.eff.org $DES/thirdparties/ # ADN
# mkdir $DES/ublock
cp -R $UASSETS/filters/* $DES/ublock/
# Optional filter lists: do not include in package
rm $DES/ublock/annoyances.txt
cp -R ./filters/adnauseam.txt $DES/ublock/ # ADN