MicrosoftEdge / WebView2Samples

Microsoft Edge WebView2 samples
830 stars 460 forks source link

Identify sample app in "New available version" dialog #185

Closed mikehoffms closed 1 year ago

mikehoffms commented 1 year ago

I opened https://github.com/MicrosoftEdge/WebView2Samples/pull/186 to fix this issue.

MicrosoftTeams-image (4)

https://github.com/MicrosoftEdge/WebView2Samples/blob/main/SampleApps/WebView2APISample/AppWindow.cpp#L1806-L1814

                            L"We detected there is a new version for the browser.";
                        if (m_webView)
                        {
                            message += L"Do you want to restart the app? \n\n";
                            message +=
                                L"Click No if you only want to re-create the webviews. \n";
                            message += L"Click Cancel for no action. \n";
                        }
mikehoffms commented 1 year ago

final version of sentence: A new version of the Microsoft Edge WebView2 Runtime is available on this machine.

mikehoffms commented 1 year ago

result encountered May 17, 2023: image