5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 03:01:45 +08:00

Documentation: Specify how to handle the Fixed WebView Runtime. (#3444)

* Update `windows.mdx`

Specify to the user that the WebView dependency must be extracted before being used.

* Update no versioned `windows.mdx`

* Update `changelog.mdx`
This commit is contained in:
Anderson Lizarazo Tellez 2024-06-19 14:40:36 -05:00 committed by GitHub
parent b0dfa86ae9
commit 517d8d7897
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 0 deletions

View File

@ -53,6 +53,12 @@ Also, you should specify path to fixed version of webview2 runtime in the `windo
Note: When `WebviewBrowserPath` is specified, `error` strategy will be forced in case of minimal required version
mismatch or invalid path to a runtime.
The downloaded file will be compressed (extension `.cab`), so you must extract it before using it, according to the instructions on the [official site](https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#details-about-the-fixed-version-runtime-distribution-mode) should run in a terminal the following command to extract the file:
```
expand {path to the package} -F:* {path to the destination folder}
```
## Spawning other programs
When spawning other programs, such as scripts, you will see the window appear on the screen. To hide the window,

View File

@ -68,6 +68,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed some typos in comments. Changed by [@reallylowest](https://github.com/reallylowest) in [PR](https://github.com/wailsapp/wails/pull/3357)
- Fixed an issue where the destination file was not properly closed after copying. Changed by [@testwill](https://github.com/testwill) in [PR](https://github.com/wailsapp/wails/pull/3384)
- Fixed an issue where `xattr` calls were not working. Fixed by [@leaanthony](https://github.com/wailsapp/wails/pull/3328)
- Warn in the documentation that the fixed version of the WebView 2 Runtime must be extracted before use. Documented by [@ALizarazoTellez](https://github.com/ALizarazoTellez) in [PR](https://github.com/wailsapp/wails/pull/3444).
### Changed

View File

@ -53,6 +53,12 @@ Also, you should specify path to fixed version of webview2 runtime in the `windo
Note: When `WebviewBrowserPath` is specified, `error` strategy will be forced in case of minimal required version
mismatch or invalid path to a runtime.
The downloaded file will be compressed (extension `.cab`), so you must extract it before using it, according to the instructions on the [official site](https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#details-about-the-fixed-version-runtime-distribution-mode) should run in a terminal the following command to extract the file:
```
expand {path to the package} -F:* {path to the destination folder}
```
## Spawning other programs
When spawning other programs, such as scripts, you will see the window appear on the screen. To hide the window,