Skip to content

Commit

Permalink
dotnet45: use OnlyUseLatestCLR registry setting to avoid WINEPREFIX u…
Browse files Browse the repository at this point in the history
…pdate popup
  • Loading branch information
austin987 committed Aug 11, 2020
1 parent 1131bf0 commit 7368a55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/winetricks
Expand Up @@ -9241,6 +9241,9 @@ load_dotnet45()

w_override_dlls native mscoree

# Avoid a popup on WINEPREFIX updates, see https://bugs.winehq.org/show_bug.cgi?id=41727#c5
"$WINE" reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v OnlyUseLatestCLR /t REG_DWORD /d 0001 /f

w_warn "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail"
w_set_winver win2k3
}
Expand Down

0 comments on commit 7368a55

Please sign in to comment.