mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2025-02-16 19:58:23 +00:00
Don't freeze if usb install fails
This commit is contained in:
parent
f06f1ef38c
commit
866d1ff093
1 changed files with 1 additions and 2 deletions
|
@ -116,8 +116,6 @@ namespace usbInstStuff {
|
|||
nspInstalled = false;
|
||||
}
|
||||
|
||||
tin::util::USBCmdManager::SendExitCmd();
|
||||
|
||||
if (previousClockValues.size() > 0) {
|
||||
inst::util::setClockSpeed(0, previousClockValues[0]);
|
||||
inst::util::setClockSpeed(1, previousClockValues[1]);
|
||||
|
@ -126,6 +124,7 @@ namespace usbInstStuff {
|
|||
|
||||
|
||||
if(nspInstalled) {
|
||||
tin::util::USBCmdManager::SendExitCmd();
|
||||
inst::ui::setInstInfoText("Install complete");
|
||||
inst::ui::setInstBarPerc(100);
|
||||
if (ourTitleList.size() > 1) inst::ui::mainApp->CreateShowDialog(std::to_string(ourTitleList.size()) + " files installed successfully!", nspInstStuff::finishedMessage(), {"OK"}, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue