Repository navigation
Wine Gecko without Wine's download window - #494
Open
insertfloppy wants to merge 1 commit into
Open
insertfloppy wants to merge 1 commit into
insertfloppy wants to merge 1 commit into
Conversation
Wine's "Wine Gecko Installer" window downloaded Gecko through Wine's networking and hung at 8% (urlmon: Not handling error 997), so a program that shows web pages never got past it. Madeira now downloads Wine's own x86 and x86_64 Gecko 2.47.4 MSIs from WineHQ with iOS networking, on its own on Wi-Fi (not cellular or Low Data Mode) or from Settings > Web pages in programs, checks them against the SHA-256s in appwiz.cpl, and every session links them into the prefix's Wine download cache ($HOME/.cache/wine), so appwiz installs Gecko from there instead of opening the window. ARM64EC defines __x86_64__, so 64-bit programs use the x86_64 MSI. After Remove Wine Gecko it is not fetched again on its own. Tested on an iPhone 17 Pro Max: Wine's iexplore opens with no Gecko window and renders pages. Host test check-wine-gecko.py (new) checks the pins against the pinned wine's appwiz.cpl, the link location and the wiring. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QwPPpuKJFjmUdhDqyKH7KR Signed-off-by: ft7t8drgwf-wq <337626868+ft7t8drgwf-wq@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Cameron · project thread
Problem
A program that shows web pages (an installer or launcher using Wine's mshtml,
Internet Explorer's web view) stops on Wine's "Wine Gecko Installer" window.
That window downloads through Wine's own networking and hung at 8%
(
urlmon: Not handling error 997), so the program never got further.Change
app/Madeira/WineGecko.swift: Madeira downloads Wine's own Gecko 2.47.4MSIs (x86 and x86_64) from WineHQ with iOS networking, the same way it does
Wine Mono. It runs on its own at app start on Wi-Fi only (not cellular or Low
Data Mode), or from Settings › Web pages in programs (Download / Remove).
Each file is checked against the SHA-256 in Wine's
appwiz.cplbefore it iskept. After Remove it isn't fetched again on its own.
WineProcessBridge.m: every session links the MSIs into the prefix's Winedownload cache (
$HOME/.cache/wine, HOME being the prefix), so appwiz'sinstall_from_cacheinstalls Gecko without the download window. A real filealready there is left alone. ARM64EC defines
__x86_64__, so 64-bit programsuse the x86_64 MSI. Log lines:
[wine-gecko].THIRD-PARTY-NOTICES.md(Wine Gecko, MPL-2.0, downloaded not bundled) anddocs/LIBRARY.mddescribe it.Testing
› Start › Run) opens with no Gecko popup and renders pages.
tests/host/check-wine-gecko.py(new) passes: the pins matchthe pinned wine's
appwiz.cpl, the link goes where appwiz looks, and thewiring (app start, Settings, Xcode project) is in place. Not compiled for iOS
here;
check-frontend.pyneeds a Swift toolchain this machine lacks.🤖 Generated with Claude Code
https://claude.ai/code/session_01LiLQakAySboBR7FkqkJFKS