Update documentation to reflect current approach

This commit is contained in:
Aeon
2026-02-17 23:32:55 +01:00
parent 850d8f6902
commit d5df30718b

View File

@@ -99,7 +99,7 @@ BrowserWindowOptions browserWindowOptions = new BrowserWindowOptions
```
> [!IMPORTANT]
> When using a preload script _AND_ running a Blazor app, the following lines must be added to the preload script:
> When using a preload script _AND_ running a Blazor app, `IsRunningBlazor` must be set to `false` (or removed) and the following lines must be added to the preload script:
> ```js
> global.process = undefined;
> global.module = undefined;