Skip to content

Commit eb83b9b

Browse files
fix(example): correct the path string used in tauri.conf.json
update version number, to indicate the edit time, also removed "./"and"/"around path to prevent a bug
1 parent 689317d commit eb83b9b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/distribute/windows-installer.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,11 @@ Distributing a fixed WebView2 Runtime version increases the Windows Installer by
293293
:::
294294

295295
1. Download the WebView2 fixed version runtime from [Microsoft's website][download-webview2-runtime].
296-
In this example, the downloaded filename is `Microsoft.WebView2.FixedVersionRuntime.128.0.2739.42.x64.cab`
296+
In this example, the downloaded filename is `Microsoft.WebView2.FixedVersionRuntime.142.0.3595.80.x64.cab`
297297
2. Extract the file to the core folder:
298298

299299
```powershell
300-
Expand .\Microsoft.WebView2.FixedVersionRuntime.128.0.2739.42.x64.cab -F:* ./src-tauri
300+
Expand .\Microsoft.WebView2.FixedVersionRuntime.142.0.3595.80.x64.cab -F:* ./src-tauri
301301
```
302302

303303
3. Configure the WebView2 runtime path in `tauri.conf.json`:
@@ -308,7 +308,7 @@ Expand .\Microsoft.WebView2.FixedVersionRuntime.128.0.2739.42.x64.cab -F:* ./src
308308
"windows": {
309309
"webviewInstallMode": {
310310
"type": "fixedRuntime",
311-
"path": "./Microsoft.WebView2.FixedVersionRuntime.98.0.1108.50.x64/"
311+
"path": "Microsoft.WebView2.FixedVersionRuntime.142.0.3595.80.x64"
312312
}
313313
}
314314
}

0 commit comments

Comments
 (0)