#!/bin/sh

OH_BUILDROOT=..
OH_PROJECT=ohthk
OH_CPUOS=x86_wn32

if [ "${OH_CPUOS}" = "x86_wn32" ] ; then
rm -f ./ohthk.bat
cat > ./ohthk.bat << EOF
@echo off
start %*
EOF
chmod 777 ohthk.bat
  ./ohthk.bat ${OH_BUILDROOT}/build/${OH_PROJECT}/bin/ohthk.exe $*
  rm -f ./ohthk.bat
fi
