mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
URL audit (#5685)
This commit is contained in:
@@ -278,7 +278,7 @@ void initialize_webview(int nShowCmd)
|
||||
}
|
||||
else if (status == AsyncStatus::Error)
|
||||
{
|
||||
MessageBox(NULL, L"Failed to create the WebView control.\nPlease report the bug to https://github.com/microsoft/PowerToys/issues", L"PowerToys Settings Error", MB_OK);
|
||||
MessageBox(NULL, L"Failed to create the WebView control.\nPlease report the bug to https://aka.ms/powerToysReportBug", L"PowerToys Settings Error", MB_OK);
|
||||
Trace::SettingsInitError(Trace::SettingsInitErrorCause::WebViewInitAsyncError);
|
||||
exit(1);
|
||||
}
|
||||
@@ -514,7 +514,7 @@ int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _
|
||||
{
|
||||
if (!drop_elevated_privileges())
|
||||
{
|
||||
MessageBox(NULL, L"Failed to drop admin privileges.\nPlease report the bug to https://github.com/microsoft/PowerToys/issues", L"PowerToys Settings Error", MB_OK);
|
||||
MessageBox(NULL, L"Failed to drop admin privileges.\nPlease report the bug to https://aka.ms/powerToysReportBug", L"PowerToys Settings Error", MB_OK);
|
||||
Trace::SettingsInitError(Trace::SettingsInitErrorCause::FailedToDropPrivileges);
|
||||
exit(1);
|
||||
}
|
||||
@@ -526,7 +526,7 @@ int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _
|
||||
g_main_wnd = create_main_window(hInstance);
|
||||
if (g_main_wnd == nullptr)
|
||||
{
|
||||
MessageBox(NULL, L"Failed to create main window.\nPlease report the bug to https://github.com/microsoft/PowerToys/issues", L"PowerToys Settings Error", MB_OK);
|
||||
MessageBox(NULL, L"Failed to create main window.\nPlease report the bug to https://aka.ms/powerToysReportBugF", L"PowerToys Settings Error", MB_OK);
|
||||
exit(1);
|
||||
}
|
||||
initialize_webview(nShowCmd);
|
||||
|
||||
Reference in New Issue
Block a user