mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-03 16:19:01 -04:00
[ui] disable button and add a countdown when launching update
* Also disable Launch button while we do so * Also add new <Ctrl>-<Alt>-<Y> cheat mode * Also terminate update thread before exiting if running * Also set version to rufus-next
This commit is contained in:
parent
f5fb5586c6
commit
2a1c57c750
10 changed files with 57 additions and 34 deletions
|
@ -634,8 +634,8 @@ LONG ValidateSignature(HWND hDlg, const char* path)
|
|||
r = TRUST_E_TIME_STAMP;
|
||||
}
|
||||
}
|
||||
if (r != ERROR_SUCCESS)
|
||||
MessageBoxExU(hDlg, lmprintf(MSG_300), lmprintf(MSG_299), MB_OK | MB_ICONERROR | MB_IS_RTL, selected_langid);
|
||||
if ((r != ERROR_SUCCESS) && (force_update < 2))
|
||||
MessageBoxExU(hDlg, lmprintf(MSG_300), lmprintf(MSG_299), MB_OK | MB_ICONERROR | MB_IS_RTL, selected_langid);
|
||||
break;
|
||||
case TRUST_E_NOSIGNATURE:
|
||||
// Should already have been reported, but since we have a custom message for it...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue