Revert previous uninstaller change
Some checks failed
Build Safe Unlaunch Installer / Build with Docker using devkitARM (push) Has been cancelled
Build Safe Unlaunch Installer / Upload to release (push) Has been cancelled

It broke normal uninstalling
This commit is contained in:
Edoardo Lolletti 2025-04-29 18:23:11 +02:00
parent d01ccfbf47
commit e8d1da5d50

View File

@ -379,8 +379,12 @@ int main(int argc, char **argv)
{
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL:
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP:
bool unsafeUninstall = (advancedOptionsUnlocked || !isLauncherVersionSupported) && cursor == MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP;
if(!unlaunchFound || !unsafeUninstall)
if(!unlaunchFound)
{
break;
}
bool unsafeUninstall = advancedOptionsUnlocked && cursor == MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP;
if(!isLauncherVersionSupported && !unsafeUninstall)
{
break;
}