You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
522 B
27 lines
522 B
10 years ago
|
#!/bin/bash
|
||
|
|
||
|
if [ -z $WAPPALYZER_ROOT ]
|
||
|
then
|
||
|
echo "\$WAPPALYZER_ROOT not set"
|
||
|
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
wappalyzer links
|
||
|
|
||
|
# Mozilla Firefox
|
||
|
echo "Building Firefox driver..."
|
||
|
|
||
|
cfx xpi --pkgdir=$WAPPALYZER_ROOT/src/drivers/firefox --output-file=$WAPPALYZER_ROOT/build/wappalyzer_firefox.xpi
|
||
|
|
||
|
# Google Chrome
|
||
|
echo "Building Chrome driver..."
|
||
|
|
||
|
pushd $WAPPALYZER_ROOT/src/drivers/chrome > /dev/null
|
||
|
|
||
|
zip -qr $WAPPALYZER_ROOT/build/wappalyzer_chrome.zip .
|
||
|
|
||
|
popd > /dev/null
|
||
|
|
||
|
echo "Done. Builds have been created in $WAPPALYZER_ROOT/build."
|