This commit is contained in:
freearhey
2021-03-11 17:06:43 +03:00
parent 6e4add9c92
commit d150aac408
10 changed files with 8241 additions and 200 deletions

View File

@@ -1,31 +0,0 @@
#!/bin/bash
#backup the current working dir
WG_BCKP_DIR="$(pwd)"
function quit {
#restore previous working dir
cd "$WG_BCKP_DIR"
exit $1;
}
# check if mono can be found
which mono >/dev/null 2>&1 || { echo >&2 "Mono required, but it's not installed."; quit 1; }
# get the absolute path of the link (or relative path)
if [ -L $0 ] ; then
DIR=$(dirname $(readlink -f $0)) ;
else
DUTDIR=$(dirname $0) ;
if [ "${DUTDIR:0:1}" = "/" ]; then
DIR="$DUTDIR";
else
DIR=$PWD/$(dirname $0) ;
fi
fi ;
mono "$DIR/bin/WebGrab+Plus.exe" "$DIR/config/en"
mono "$DIR/bin/WebGrab+Plus.exe" "$DIR/config/ru"
quit 0;