Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
Fix fetching of assets at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jul 19, 2021
1 parent 8f8234d commit 9d97748
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/make-assets.sh
Expand Up @@ -14,11 +14,14 @@ cp ./assets/assets.json $DES/
if [ -n "${TRAVIS_TAG}" ]; then
pushd .. > /dev/null
git clone --depth 1 https://github.com/uBlockOrigin/uAssets.git
git checkout 84dc2761abb4193bb34290aa6d90266610f735f6
popd > /dev/null
fi

mkdir $DES/thirdparties
cp -R ../uAssets/thirdparties/hosts-file.net $DES/thirdparties/
pushd ../uAssets
git checkout 84dc2761abb4193bb34290aa6d90266610f735f6
popd
cp -R ../uAssets/thirdparties/mirror1.malwaredomains.com $DES/thirdparties/
cp -R ../uAssets/thirdparties/pgl.yoyo.org $DES/thirdparties/
cp -R ../uAssets/thirdparties/publicsuffix.org $DES/thirdparties/
Expand All @@ -27,5 +30,8 @@ cp -R ../uAssets/thirdparties/winhelp2002.mvps.org $DES/thirdparties/
cp -R ../uAssets/thirdparties/www.malwaredomainlist.com $DES/thirdparties/
mkdir $DES/umatrix
cp -R ../uAssets/recipes/* $DES/umatrix/
pushd ../uAssets
git checkout master
popd

echo "done."

0 comments on commit 9d97748

Please sign in to comment.