Release v0.6.0

This commit is contained in:
Omni
2026-04-20 20:57:23 +01:00
parent 69fabb32e6
commit 2ff09a1448
144 changed files with 4841 additions and 1306 deletions

View File

@@ -1456,6 +1456,7 @@ winetricks_selfupdate()
w_try cp "$0" "${_W_rollback_file}"
w_try chmod -x "${_W_rollback_file}"
# Uses mv to avoid race condition in overwriting running shell script. Do not replace with cp or other non-atomic writes!
w_try mv "${_W_update_file}" "$0"
w_try chmod +x "$0"
@@ -1471,6 +1472,7 @@ winetricks_selfupdate_rollback()
_W_rollback_file="${0}.bak"
if test -f "${_W_rollback_file}"; then
# Uses mv to avoid race condition in overwriting running shell script. Do not replace with cp or other non-atomic writes!
w_try mv "${_W_rollback_file}" "$0"
w_try chmod +x "$0"
w_warn "Rollback finished! The current version is $($0 -V)."
@@ -5984,7 +5986,7 @@ load_d3dcompiler_43()
w_metadata d3dcompiler_46 dlls \
title="MS d3dcompiler_46.dll" \
publisher="Microsoft" \
year="2010" \
year="2012" \
media="download" \
file1="../directx9/directx_Jun2010_redist.exe" \
installed_file1="${W_SYSTEM32_DLLS_WIN}/d3dcompiler_46.dll"
@@ -5993,12 +5995,12 @@ load_d3dcompiler_46()
{
# See https://bugs.winehq.org/show_bug.cgi?id=50350#c13
w_download http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509B23AC/standalonesdk/Installers/2630bae9681db6a9f6722366f47d055c.cab
w_download https://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509B23AC/standalonesdk/Installers/2630bae9681db6a9f6722366f47d055c.cab
w_try_cabextract -d "${W_TMP}" -L -F "fil47ed91e900f4b9d9659b66a211b57c39" "${W_CACHE}/${W_PACKAGE}/2630bae9681db6a9f6722366f47d055c.cab"
w_try mv "${W_TMP}/fil47ed91e900f4b9d9659b66a211b57c39" "${W_SYSTEM32_DLLS}/d3dcompiler_46.dll"
if [ "${W_ARCH}" = "win64" ]; then
w_download http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509B23AC/standalonesdk/Installers/61d57a7a82309cd161a854a6f4619e52.cab
w_download https://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509B23AC/standalonesdk/Installers/61d57a7a82309cd161a854a6f4619e52.cab
w_try_cabextract -d "${W_TMP}" -L -F "fil8c20206095817436f8df4a711faee5b7" "${W_CACHE}/${W_PACKAGE}/61d57a7a82309cd161a854a6f4619e52.cab"
w_try mv "${W_TMP}/fil8c20206095817436f8df4a711faee5b7" "${W_SYSTEM64_DLLS}/d3dcompiler_46.dll"
fi
@@ -6011,19 +6013,21 @@ load_d3dcompiler_46()
w_metadata d3dcompiler_47 dlls \
title="MS d3dcompiler_47.dll" \
publisher="Microsoft" \
year="FIXME" \
year="2013" \
media="download" \
file1="d3dcompiler_47_32.dll" \
file1="../directx9/directx_Jun2010_redist.exe" \
installed_file1="${W_SYSTEM32_DLLS_WIN}/d3dcompiler_47.dll"
load_d3dcompiler_47()
{
w_download https://raw.githubusercontent.com/mozilla/fxc2/master/dll/d3dcompiler_47_32.dll 2ad0d4987fc4624566b190e747c9d95038443956ed816abfd1e2d389b5ec0851
w_try_cp_dll "${W_CACHE}/d3dcompiler_47/d3dcompiler_47_32.dll" "${W_SYSTEM32_DLLS}/d3dcompiler_47.dll"
w_download https://download.microsoft.com/download/B/0/C/B0C80BA3-8AD6-4958-810B-6882485230B5/standalonesdk/Installers/2630bae9681db6a9f6722366f47d055c.cab
w_try_cabextract -d "${W_TMP}" -L -F "fila319f706acfa16d6707473ebf29bdc7f" "${W_CACHE}/${W_PACKAGE}/2630bae9681db6a9f6722366f47d055c.cab"
w_try mv "${W_TMP}/fila319f706acfa16d6707473ebf29bdc7f" "${W_SYSTEM32_DLLS}/d3dcompiler_47.dll"
if [ "${W_ARCH}" = "win64" ]; then
w_download https://raw.githubusercontent.com/mozilla/fxc2/master/dll/d3dcompiler_47.dll 4432bbd1a390874f3f0a503d45cc48d346abc3a8c0213c289f4b615bf0ee84f3
w_try_cp_dll "${W_CACHE}/d3dcompiler_47/d3dcompiler_47.dll" "${W_SYSTEM64_DLLS}/d3dcompiler_47.dll"
w_download https://download.microsoft.com/download/B/0/C/B0C80BA3-8AD6-4958-810B-6882485230B5/standalonesdk/Installers/61d57a7a82309cd161a854a6f4619e52.cab
w_try_cabextract -d "${W_TMP}" -L -F "fil3585cb2ea5db13cc0838f8d06b5c9679" "${W_CACHE}/${W_PACKAGE}/61d57a7a82309cd161a854a6f4619e52.cab"
w_try mv "${W_TMP}/fil3585cb2ea5db13cc0838f8d06b5c9679" "${W_SYSTEM64_DLLS}/d3dcompiler_47.dll"
fi
w_override_dlls native d3dcompiler_47
@@ -9848,23 +9852,23 @@ load_dotnetdesktop8()
w_metadata dotnet9 dlls \
title="MS .NET Runtime 9.0 LTS" \
publisher="Microsoft" \
year="2024" \
year="2026" \
media="download" \
file1="dotnet-runtime-9.0.7-win-x86.exe" \
file1="dotnet-runtime-9.0.14-win-x86.exe" \
installed_file1="${W_PROGRAMS_WIN}/dotnet/dotnet.exe"
load_dotnet9()
{
# Official version, see https://dotnet.microsoft.com/en-us/download/dotnet/9.0
w_download https://builds.dotnet.microsoft.com/dotnet/Runtime/9.0.7/dotnet-runtime-9.0.7-win-x86.exe a4d077890c9820d9968a3c310973dceeae6ce949f4af3dae50611c0457196c82
w_download https://builds.dotnet.microsoft.com/dotnet/Runtime/9.0.14/dotnet-runtime-9.0.14-win-x86.exe a99eb555e90eaa6703efa20f3b8fe676a9ba24bd24d439f016c20815d4ff815c
w_try_cd "${W_CACHE}"/"${W_PACKAGE}"
w_try "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+/quiet}
if [ "${W_ARCH}" = "win64" ]; then
# Also install the 64-bit version
w_download https://builds.dotnet.microsoft.com/dotnet/Runtime/9.0.7/dotnet-runtime-9.0.7-win-x64.exe 482a02fa01dd822d67d5286049ed7cc74fe8eda01848612cd070e0b0583de9c4
w_try "${WINE}" "dotnet-runtime-9.0.7-win-x64.exe" ${W_OPT_UNATTENDED:+/quiet}
w_download https://builds.dotnet.microsoft.com/dotnet/Runtime/9.0.14/dotnet-runtime-9.0.14-win-x64.exe 690f85d3592edb3e5810f8cd8b4a630bbaa2a8abc354061d44d7d6c0f0d8a0dd
w_try "${WINE}" "dotnet-runtime-9.0.14-win-x64.exe" ${W_OPT_UNATTENDED:+/quiet}
fi
}
@@ -11772,17 +11776,24 @@ load_ogg()
w_metadata ole32 dlls \
title="MS ole32 Module (ole32.dll)" \
publisher="Microsoft" \
year="2004" \
year="2015" \
media="download" \
file1="../winxpsp3/WindowsXP-KB936929-SP3-x86-ENU.exe" \
file1="windowsserver2003-kb3072633-x64-enu_e3bee4ea9cab584b77067f26e4aeed5428436327.exe" \
installed_file1="${W_SYSTEM32_DLLS_WIN}/ole32.dll"
load_ole32()
{
# Some applications need this, for example Wechat.
helper_winxpsp3 i386/ole32.dl_
w_try_cabextract --directory="${W_SYSTEM32_DLLS}" "${W_TMP}"/i386/ole32.dl_
w_override_dlls native,builtin ole32
w_download https://catalog.s.download.windowsupdate.com/d/msdownload/update/software/secu/2015/06/windowsserver2003-kb3072633-x64-enu_e3bee4ea9cab584b77067f26e4aeed5428436327.exe 1e0d4065f34bebd5bde679779ec7472cd7e0a285bc7209a50aae744d4849cbdf
w_try_cabextract --directory="${W_TMP}" "${W_CACHE}/${W_PACKAGE}/${file1}"
w_try_cp_dll "${W_TMP}"/SP2QFE/wow/wole32.dll "${W_SYSTEM32_DLLS}"/ole32.dll
if [ "${W_ARCH}" = "win64" ]; then
w_try_cp_dll "${W_TMP}"/SP2QFE/ole32.dll "${W_SYSTEM64_DLLS}"/ole32.dll
fi
w_override_dlls native ole32
}
#----------------------------------------------------------------
@@ -12916,32 +12927,17 @@ load_vb5run()
#----------------------------------------------------------------
w_metadata vb6run dlls \
title="MS Visual Basic 6 runtime sp6" \
title="MS Visual Basic 6 runtime" \
publisher="Microsoft" \
year="2004" \
year="2008" \
media="download" \
file1="vbrun60sp6.exe" \
file1="../winxpsp3/WindowsXP-KB936929-SP3-x86-ENU.exe" \
installed_file1="${W_SYSTEM32_DLLS_WIN}/msvbvm60.dll"
load_vb6run()
{
# https://support.microsoft.com/kb/290887
if test ! -f "${W_CACHE}"/vb6run/vbrun60sp6.exe; then
w_download https://web.archive.org/web/20070204154430/https://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe 467b5a10c369865f2021d379fc0933cb382146b702bbca4bcb703fc86f4322bb
w_try "${WINE}" "${W_CACHE}"/vb6run/VB6.0-KB290887-X86.exe "/T:${W_TMP_WIN}" /c ${W_OPT_UNATTENDED:+/q}
if test ! -f "${W_TMP}"/vbrun60sp6.exe; then
w_die vbrun60sp6.exe not found
fi
w_try mv "${W_TMP}"/vbrun60sp6.exe "${W_CACHE}"/vb6run
fi
# extract the files instead of using installer to avoid https://github.com/Winetricks/winetricks/issues/1806
w_try_cabextract -L "${W_CACHE}/${W_PACKAGE}/${file1}" -d "${W_TMP}"
for dll in asycfilt.dll comcat.dll msvbvm60.dll oleaut32.dll olepro32.dll stdole2.tlb; do
w_try mv "${W_TMP}/${dll}" "${W_SYSTEM32_DLLS}"
done
helper_winxpsp3 i386/msvbvm60.dl_
w_try_cabextract --directory="${W_SYSTEM32_DLLS}" "${W_TMP}"/i386/msvbvm60.dl_
}
#----------------------------------------------------------------
@@ -19051,6 +19047,33 @@ load_sandbox()
w_call isolate_home
}
#----------------------------------------------------------------
w_metadata showdotfiles=y settings \
title="Show dotfiles/folders (.foo) in Windows programs"
w_metadata showdotfiles=n settings \
title="Hide dotfiles/folders (.foo) in Windows programs (default)"
load_showdotfiles()
{
case "$1" in
y|Y) arg="Y";;
n|N) arg="N";;
*) w_die "illegal value $1 for ShowDotFiles";;
esac
echo "Setting ShowDotFiles to ${arg}"
cat > "${W_TMP}/${W_PACKAGE}.reg" <<_EOF_
REGEDIT4
[HKEY_CURRENT_USER\\Software\\Wine]
"ShowDotFiles"="${arg}"
_EOF_
w_try_regedit "${W_TMP}/${W_PACKAGE}.reg"
}
####
# settings->sound
@@ -19855,7 +19878,7 @@ if ! test "${WINETRICKS_LIB}"; then
case "$1" in
die) w_die "we who are about to die salute you." ;;
"")
if [ -z "${DISPLAY}" ]; then
if [ -z "${DISPLAY}" ] && [ -z "${WAYLAND_DISPLAY}" ]; then
if [ "$(uname -s)" = "Darwin" ]; then
echo "Running on OSX, but DISPLAY is not set...probably using Mac Driver."
else