From: Michael Gilbert Date: Tue, 13 Sep 2022 00:46:21 +0000 (+0100) Subject: disable gecko/mono installer download X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~2^2^2^2~30 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3c113ada84b6b56992a31f9e468ec028dd9dc795;p=wine.git disable gecko/mono installer download Gbp-Pq: Topic disable Gbp-Pq: Name addons-download.patch --- diff --git a/dlls/appwiz.cpl/addons.c b/dlls/appwiz.cpl/addons.c index e0542f7..70dd270 100644 --- a/dlls/appwiz.cpl/addons.c +++ b/dlls/appwiz.cpl/addons.c @@ -609,6 +609,7 @@ static const IInternetBindInfoVtbl InstallCallbackBindInfoVtbl = { static IInternetBindInfo InstallCallbackBindInfo = { &InstallCallbackBindInfoVtbl }; +/* static void append_url_params( WCHAR *url ) { DWORD size = INTERNET_MAX_URL_LENGTH * sizeof(WCHAR); @@ -755,6 +756,7 @@ static INT_PTR CALLBACK installer_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARA return FALSE; } +*/ BOOL install_addon(addon_t addon_type) { @@ -772,13 +774,11 @@ BOOL install_addon(addon_t addon_type) * - $INSTALL_DATADIR/wine/$addon_subdir/ * - /usr/share/wine/$addon_subdir/ * - /opt/wine/$addon_subdir/ - * - download from URL stored in $url_config_key value of HKCU/Software/Wine/$config_key key */ if (install_from_registered_dir() == INSTALL_NEXT && install_from_default_dir() == INSTALL_NEXT - && install_from_cache() == INSTALL_NEXT - && (url = get_url())) - DialogBoxW(hInst, addon->dialog_template, 0, installer_proc); + && install_from_cache() == INSTALL_NEXT) + {}; heap_free(url); url = NULL;