From 3fa81843fdef812c9b25a4f80c533b729b76642e Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Sat, 15 Apr 2017 15:54:36 +1000 Subject: [PATCH] Install manifoldjs in Travis CI --- .travis.yml | 1 + bin/wappalyzer-build | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3f1090e37..a5289283d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ before_install: - export WAPPALYZER_NODE_PATH=$TRAVIS_BUILD_DIR - export PATH=$PATH:$TRAVIS_BUILD_DIR/bin - ln -s docker/node/package.json package.json +before_script: npm i -g manifoldjs after_script: ls -l --block-size=kB build cache: directories: diff --git a/bin/wappalyzer-build b/bin/wappalyzer-build index ab8cabbde..a07a85b59 100755 --- a/bin/wappalyzer-build +++ b/bin/wappalyzer-build @@ -41,7 +41,7 @@ do rm "$dest" fi - #node $WAPPALYZER_NODE_PATH/node_modules/svg2png/bin/svg2png-cli "$svg" --width=32 --height=32 --output "$dest" || true + node $WAPPALYZER_NODE_PATH/node_modules/svg2png/bin/svg2png-cli "$svg" --width=32 --height=32 --output "$dest" || true done IFS="$OIFS" @@ -80,6 +80,7 @@ manifest_dir="Wappalyzer/edgeextension/manifest" sed -i 's/INSERT-YOUR-PACKAGE-IDENTITY-NAME-HERE/Wappalyzer/' $manifest_dir/appxmanifest.xml sed -i 's/INSERT-YOUR-PACKAGE-IDENTITY-PUBLISHER-HERE/Wappalyzer/' $manifest_dir/appxmanifest.xml sed -i 's/INSERT-YOUR-PACKAGE-PROPERTIES-PUBLISHERDISPLAYNAME-HERE/Wappalyzer/' $manifest_dir/appxmanifest.xml +sed -i 's/Version="0.\([^"]\+\)/Version="\1.0/' $manifest_dir/appxmanifest.xml cp $webextension_dir/images/icon_44.png $manifest_dir/Assets/Square44x44Logo.png cp $webextension_dir/images/icon_150.png $manifest_dir/Assets/Square150x150Logo.png