Skip to content

Instantly share code, notes, and snippets.

@shmerl
Last active August 2, 2024 02:32
Show Gist options
  • 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).
# wine_path 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 [[ "${wine_path+isset}" ]]; then
export WINE=${wine_path}/bin/wine
fi
export WINETRICKS_DOWNLOADER=curl
winetricks "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment