File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
tooling/bundler/src/bundle/windows/templates Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " tauri-bundler " : patch
3+ ---
4+
5+ Enhance the ` DownloadedBootstrapper ` Webview2 install mode compatibility with Windows 8.
Original file line number Diff line number Diff line change 246246 </Property >
247247
248248 {{#if download_bootstrapper}}
249- <CustomAction Id =' DownloadAndInvokeBootstrapper' Directory =" INSTALLDIR" Execute =" deferred" ExeCommand =' powershell.exe -NoProfile -windowstyle hidden Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=2124703" -OutFile "$env:TEMP\MicrosoftEdgeWebview2Setup.exe" ; Start-Process -FilePath "$env:TEMP\MicrosoftEdgeWebview2Setup.exe" -ArgumentList ({{{webview_installer_args}}} ' /install' ) -Wait' Return =' check' />
249+ <CustomAction Id =' DownloadAndInvokeBootstrapper' Directory =" INSTALLDIR" Execute =" deferred" ExeCommand =' powershell.exe -NoProfile -windowstyle hidden try [\{] [\[]Net.ServicePointManager[\]]::SecurityProtocol = [\[]Net.SecurityProtocolType[\]]::Tls12 [\}] catch [\{][\}]; Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=2124703" -OutFile "$env:TEMP\MicrosoftEdgeWebview2Setup.exe" ; Start-Process -FilePath "$env:TEMP\MicrosoftEdgeWebview2Setup.exe" -ArgumentList ({{{webview_installer_args}}} ' /install' ) -Wait' Return =' check' />
250250 <InstallExecuteSequence >
251251 <Custom Action =' DownloadAndInvokeBootstrapper' Before =' InstallFinalize' >
252252 <![CDATA[ NOT(REMOVE OR WVRTINSTALLED)]]>
You can’t perform that action at this time.
0 commit comments