mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-01 23:35:27 +00:00
Offer to show the troubleshooting log for terminal warnings too
This commit is contained in:
parent
f1738fc11e
commit
15d60ed10a
@ -111,7 +111,7 @@ void DisplayMessage(const char* message, MessagePriority priority = MpError, boo
|
|||||||
}
|
}
|
||||||
MessageBoxA(nullptr, message, "Moonlight Internet Streaming Tester", flags);
|
MessageBoxA(nullptr, message, "Moonlight Internet Streaming Tester", flags);
|
||||||
|
|
||||||
if (priority == MpError && terminal) {
|
if (priority != MpInfo && terminal) {
|
||||||
flags = MB_YESNO | MB_TOPMOST | MB_SETFOREGROUND | MB_ICONINFORMATION;
|
flags = MB_YESNO | MB_TOPMOST | MB_SETFOREGROUND | MB_ICONINFORMATION;
|
||||||
switch (MessageBoxA(nullptr, "Would you like to view the troubleshooting log?",
|
switch (MessageBoxA(nullptr, "Would you like to view the troubleshooting log?",
|
||||||
"Moonlight Internet Streaming Tester", flags))
|
"Moonlight Internet Streaming Tester", flags))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user