Skip to content

Instantly share code, notes, and snippets.

@shmerl
Last active February 27, 2025 03:02
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).
# wine shortcut for the above, to assume /opt/$wine
#
# Uses wine_env.sh
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