diff --git a/bin/build b/bin/build index 9f38e3454..5ca0968a0 100755 --- a/bin/build +++ b/bin/build @@ -49,7 +49,22 @@ pushd $webextension_dir > /dev/null sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" manifest.json -zip -qr ../../../build/wappalyzer_webextension.zip . +zip -qr ../../../build/wappalyzer_webextension.zip . \ + -x images/icon_44.png \ + -x images/icon_50.png \ + -x images/icon_150.png \ + -x js/ms_\*.js \ + -x manifest.edge.json \ + -x \*.log \ + -x \*.lock \ + -x \*.gitignore \ + -x \*.gitkeep \ + -x \*.js.map \ + -x \*.min.js \ + -x \*.yarn-integrity \ + -x \*package.json \ + -x \*LICENSE \ + -x \*README.md popd > /dev/null diff --git a/src/apps.json b/src/apps.json index 9ab09dcfb..4cbf26b43 100644 --- a/src/apps.json +++ b/src/apps.json @@ -5272,7 +5272,7 @@ "1", "6" ], - "html": "(?:]*mg-(?:core|plugins|templates)", + "html": "(?:]*(?:src=|href=)[\"'][^\"]*mg-(?:core|plugins|templates)", "icon": "Moguta.CMS.png", "implies": "PHP", "website": "http://moguta.ru" @@ -9333,7 +9333,7 @@ "cats": [ "6" ], - "env": "woocommerce", + "env": "^woocommerce_params$", "html": "