Skip to content

Instantly share code, notes, and snippets.

@shmerl
Last active January 8, 2022 17:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shmerl/d7d56eed0c689531542124c705d18091 to your computer and use it in GitHub Desktop.
Save shmerl/d7d56eed0c689531542124c705d18091 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Configuration:
#
# WINEPREFIX what prefix to use (or will use the default).
# WINEPATH custom location of Wine if needed (custom variable for the script).
#
# Uses wine_env.sh
# Note, winetricks requires using WoW64 build of Wine.
source $(dirname ${BASH_SOURCE[0]})/wine_env.sh
if [[ "${WINEPATH+isset}" ]]; then
export WINE=${WINEPATH}/bin/wine
fi
winetricks "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment