navicat-keygen.sh 605 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. cd `dirname "$0"`
  3. navicat_root=`pwd`
  4. # Wine environment variables
  5. WINEDIR="wine"
  6. export LANG="en_US.UTF-8"
  7. export PATH="$navicat_root/$WINEDIR/bin":"$navicat_root":"$navicat_root/$WINEDIR/drive_c/windows":"$PATH"
  8. export LD_LIBRARY_PATH="$navicat_root/$WINEDIR/lib":"$navicat_root/lib":"$LD_LIBRARY_PATH"
  9. export WINEDLLPATH="$navicat_root/$WINEDIR/lib/wine"
  10. export WINELOADER="$navicat_root/$WINEDIR/bin/wine64"
  11. export WINESERVER="$navicat_root/$WINEDIR/bin/wineserver"
  12. export WINEPREFIX="$HOME/.navicat64"
  13. exec "${WINELOADER:-wine}" "navicat-keygen.exe" "-text" "RegPrivateKey.pem"