diff --git a/src/content/docs/distribute/windows-installer.mdx b/src/content/docs/distribute/windows-installer.mdx index be4a1e654a..e43b3aae7b 100644 --- a/src/content/docs/distribute/windows-installer.mdx +++ b/src/content/docs/distribute/windows-installer.mdx @@ -340,6 +340,21 @@ Your application WILL NOT work if the user does not have the runtime installed a } ``` +## Minimum Webview2 version + +If your app requires features only available in newer Webview2 versions (such as custom URI schemes), you can instruct the Windows installer +to verify the current Webview2 version and run the Webview2 bootstrapper if it does not match the target version. + +```json title="tauri.conf.json" +{ + "bundle": { + "windows": { + "minimumWebview2Version": "110.0.1531.0" + } + } +} +``` + ## Customizing the WiX Installer See the [WiX configuration] for the complete list of customization options. @@ -677,23 +692,6 @@ You can also configure the installer to display a language selector before the i } ``` -### Minimum Webview2 version - -If your app requires features only available in newer Webview2 versions (such as custom URI schemes), you can instruct the Windows installer -to verify the current Webview2 version and run the Webview2 bootstrapper if it does not match the target version. - -```json title="tauri.conf.json" -{ - "bundle": { - "windows": { - "nsis": { - "minimumWebview2Version": "110.0.1531.0" - } - } - } -} -``` - [wix toolset v3]: https://wixtoolset.org/documentation/manual/v3/ [nsis]: https://nsis.sourceforge.io/Main_Page [platform support]: https://doc.rust-lang.org/nightly/rustc/platform-support.html diff --git a/src/content/docs/ja/distribute/windows-installer.mdx b/src/content/docs/ja/distribute/windows-installer.mdx index a2ec85b4c4..2970879849 100644 --- a/src/content/docs/ja/distribute/windows-installer.mdx +++ b/src/content/docs/ja/distribute/windows-installer.mdx @@ -368,6 +368,20 @@ Expand .\Microsoft.WebView2.FixedVersionRuntime.128.0.2739.42.x64.cab -F:* ./src } ``` +## ミニマム Webview2 バージョン + +あなたのアプリが、新しい Webview2 バージョンでのみ利用可能な機能(カスタム URI スキームなど)を必要としている場合は、Windows インストーラーに「現在の Webview2 バージョンを確認し、ターゲット・バージョンと一致しない場合は Webview2 ブートストラップ・ローダーを実行する」ように指示できます。 + +```json title="tauri.conf.json" +{ + "bundle": { + "windows": { + "minimumWebview2Version": "110.0.1531.0" + } + } +} +``` + ## WiXインストーラーのカスタマイズ カスタマイズ・オプションの全リストを知りたい場合は、[WiX configuration] を参照してください。 @@ -650,22 +664,6 @@ NSIS でサポートされている言語のリストは、[NSIS GitHub プロ } ``` -### ミニマム Webview2 バージョン - -あなたのアプリが、新しい Webview2 バージョンでのみ利用可能な機能(カスタム URI スキームなど)を必要としている場合は、Windows インストーラーに「現在の Webview2 バージョンを確認し、ターゲット・バージョンと一致しない場合は Webview2 ブートストラップ・ローダーを実行する」ように指示できます。 - -```json title="tauri.conf.json" -{ - "bundle": { - "windows": { - "nsis": { - "minimumWebview2Version": "110.0.1531.0" - } - } - } -} -``` - [wix toolset v3]: https://wixtoolset.org/documentation/manual/v3/ [nsis]: https://nsis.sourceforge.io/Main_Page [platform support]: https://doc.rust-lang.org/nightly/rustc/platform-support.html