Cleanup script; up versions to b4 (in anticipation :-)

This commit is contained in:
ehouse 2009-09-28 04:40:33 +00:00
parent e1eac23a3c
commit c2a8eddfcb
2 changed files with 10 additions and 19 deletions

View file

@ -22,7 +22,7 @@
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | exf2 CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | exf2
#endif #endif
#define ABOUT_VERSION "4.4 b3" #define ABOUT_VERSION "4.4 b4"
#define DLL_VERS_RESOURCE \ #define DLL_VERS_RESOURCE \
ID_DLLVERS_RES DLLV MOVEABLE PURE \ ID_DLLVERS_RES DLLV MOVEABLE PURE \

View file

@ -12,38 +12,29 @@ function usage() {
exit 0 exit 0
} }
while :; do while [ -n "$1" ]; do
[ -z "$2" ] && usage
case "$1" in case "$1" in
--exe) --exe)
[ -z $2 ] && usage EXE="$2"
EXE=$2
shift 2
;; ;;
--name) --name)
[ -z $2 ] && usage NAME="$2"
NAME=$2
shift 2
;; ;;
--dict) --dict)
[ -z $2 ] && usage DICT="$2"
DICT=$2
shift 2
;; ;;
--out) --out)
[ -z $2 ] && usage OUTFILE="$2"
OUTFILE=$2
shift 2
;;
"")
break
;; ;;
*) *)
usage usage
esac esac
shift 2
done done
[ -z "$EXE" ] && usage [ -z "$EXE" ] && usage
[ -z "$OUTFILE" ] && OUTFILE=${NAME%.exe}.zip [ -z "$OUTFILE" ] && OUTFILE=${EXE%.exe}.zip
mkdir -p $TMPDIR mkdir -p $TMPDIR
@ -59,7 +50,7 @@ fi
cat > $README <<EOF cat > $README <<EOF
Thanks for downloading Crosswords 4.2 Release Candidate 1 for Smartphone and PocketPC. Thanks for downloading Crosswords 4.4 Beta 3 for Smartphone and PocketPC.
To install, copy the enclosed executable file ($(basename $EXE)) and dictionary file ($(basename $DICT)) into the same directory on your device using File Explorer, then double-click on the executable to launch it. To install, copy the enclosed executable file ($(basename $EXE)) and dictionary file ($(basename $DICT)) into the same directory on your device using File Explorer, then double-click on the executable to launch it.