3 Commits
Author SHA1 Message Date
Kang ffc16c28d7 ci(build): move Win7 Cargo patch enabling logic to a separate PowerShell script
- Replaced inline script in the build action with a dedicated PowerShell script (`enable-win7-cargo-patches.ps1`) for better organization and maintainability.
- The new script handles the enabling of Win7-specific Cargo patches, including validation of the `ctor` package and updating the Cargo configuration.
- This change improves readability and separation of concerns in the build process.
2026-09-01 00:31:58 +08:00
Kang 94bd7c8758 feat(webview2): update WebView2 SDK and enhance Windows 7 compatibility
- Updated the WebView2 SDK version to 1.0.1020.30 and adjusted related SHA256 checksums for improved compatibility with Windows 7.
- Added a new function to install the legacy WebView2 loader, ensuring proper handling of loader replacements and validation.
- Enhanced the CI workflow to include steps for enabling Win7-only Cargo patches and verifying the availability of 7-Zip, streamlining the build process for Windows 7 compatibility.
- Introduced a new documentation file to record Windows 7 compatibility vendor patches, detailing necessary adjustments for specific dependencies.
2026-08-19 21:08:38 +08:00
Kang bf9a8e2101 ci(scripts): add Windows 7 compatibility scripts for WebView2
- Introduced multiple PowerShell scripts to ensure compatibility of WebView2 with Windows 7, including runtime verification, installer content checks, and PE import audits.
- Added a workflow configuration for building and bundling the application specifically for Windows 7, ensuring proper handling of dependencies and runtime requirements.
- Implemented logic to prepare and validate the WebView2 fixed runtime and loader, enhancing the overall compatibility and user experience on Windows 7.
2026-08-19 18:41:27 +08:00