Repository navigation
Clear the downloaded-from-the-internet mark so the Windows portable build opens - #199
Merged
Merged
Conversation
The self-check now imports pywebview's WinForms backend on Windows, where pythonnet loads .NET, and reports a failure with exit status 1 instead of the windowed build's error dialog. The Windows test build is given the Zone.Identifier mark Explorer copies onto files extracted from a download before it is smoke-tested. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Extracting the portable zip with Explorer copies the zip's Zone.Identifier
stream onto every file, and .NET Framework will not load an assembly
marked as coming from the internet, so the window never opened
("Failed to resolve Python.Runtime.Loader.Initialize"). On Windows the
frozen build now removes that stream from the .dll files under its own
_internal folder before pythonnet loads, which is what ticking Unblock
does. Files it cannot change are left alone. The workers skip it.
The Windows test build now also opens the desktop window from the
marked build, and the README says how to unblock an older build.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Fixes the Windows portable build failing to open its window with "Failed to resolve Python.Runtime.Loader.Initialize".
_internalfolder before pythonnet loads, the same thing the Unblock checkbox does. Files it cannot change are left alone.--selfchecknow imports pywebview's WinForms backend on Windows and exits 1 on a failure instead of opening the error dialog.The first commit alone reproduced the error on the marked CI build (run 36258380140); the second is the fix.
🤖 Generated with Claude Code