Automatically exported from code.google.com/p/winetricks
Shell Other
Latest commit e31ccd2 Sep 22, 2016 @austin987 austin987 dotnet46: add initial implementation, based on dotnet45
Signed-off-by: Austin English <austinenglish@gmail.com>

README.md

winetricks

Homepage of Winetricks, previously hosted at https://code.google.com/p/winetricks

Winetricks is an easy way to work around problems in Wine.

It has a menu of supported games/apps for which it can do all the workarounds automatically. It also lets you install missing DLLs or tweak various Wine settings individually.

The latest version can be downloaded here: https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks

Tagged releases are accessible here: https://github.com/Winetricks/winetricks/releases

Custom .verb files

You can pass winetricks a custom .verb (format below), that can be used to add new dlls/settings/programs.

example 'iceweasel.verb'

w_metadata iceweasel apps \
    title="GNU Icecat 31.7.0" \
    publisher="GNU Foundation" \
    year="2015" \
    media="download" \
    file1="icecat-31.7.0.en-US.win32.zip" \
    installed_exe1="$W_PROGRAMS_X86_WIN/icecat/icecat.exe"

load_iceweasel()
{
    w_download https://ftp.gnu.org/gnu/gnuzilla/31.7.0/icecat-31.7.0.en-US.win32.zip cf52a728c1af29065b7dc7bdddc9265a79eb5328
    w_try_unzip "${W_PROGRAMS_X86_UNIX}" "${W_CACHE}/${W_PACKAGE}/${file1}"
}

Note that the filename and command name (iceweasel) must match. All metadata fields are optional, only command name and category required.

Tests

Makefile supports two tests targets, check and test. Make check will run tests/winetricks-test. While make test will first delete winetricks' cache before running tests/winetricks-test, to ensure that the downloads are still valid.