mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2024-11-23 10:19:21 +01:00
Relax the requirements for a removal a bit. It's enough to have backups
This commit is contained in:
parent
5e45460010
commit
7be164181d
@ -338,10 +338,10 @@ void ApplicationState::checkColdbootStatus() {
|
||||
void ApplicationState::checkRemovalPossible() {
|
||||
DEBUG_FUNCTION_LINE("Check removal possible");
|
||||
|
||||
this->removalPossible = this->alreadyInstalled;
|
||||
if (this->removalPossible) {
|
||||
this->removalPossible &= this->systemXMLRestorePossible || !this->systemXMLAlreadyPatched;
|
||||
}
|
||||
// We can only restore if a restore of the system.xml is possible or it isn't patched at all.
|
||||
this->removalPossible = !this->systemXMLAlreadyPatched || this->systemXMLRestorePossible;
|
||||
|
||||
// And we can only install if we have a backup.
|
||||
if (this->removalPossible) {
|
||||
this->removalPossible &= InstallerService::isBackupAvailable(this->appInfo->path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user