mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
rbutil: enable "done" signal on bootloader uninstall
This allows to implement multi-stage uninstallers. Should not affect the behaviour on current targets. Change-Id: Idf8aec5caf76cf9317798890d094a7cebdbcabec
This commit is contained in:
parent
6a1644c52a
commit
5a673d6df2
7 changed files with 8 additions and 2 deletions
|
|
@ -91,6 +91,7 @@ bool BootloaderInstallMi4::uninstall(void)
|
|||
emit logItem(tr("Checking for Rockbox bootloader"), LOGINFO);
|
||||
if(installed() != BootloaderRockbox) {
|
||||
emit logItem(tr("No Rockbox bootloader found"), LOGERROR);
|
||||
emit done(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -101,6 +102,7 @@ bool BootloaderInstallMi4::uninstall(void)
|
|||
|
||||
if(Utils::resolvePathCase(original).isEmpty()) {
|
||||
emit logItem(tr("Error finding original firmware file"), LOGERROR);
|
||||
emit done(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue