Revert previous uninstaller change

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;
}