mirror of
https://github.com/rvtr/unlaunch-installer_dev.git
synced 2026-01-26 13:43:08 -05:00
Fix unsafe uninstall selection
This commit is contained in:
parent
8c77633767
commit
5f8f69c2ab
@ -379,8 +379,8 @@ int main(int argc, char **argv)
|
||||
{
|
||||
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL:
|
||||
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP:
|
||||
bool unsafeUninstall = advancedOptionsUnlocked && cursor == MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP;
|
||||
if(!unlaunchFound || (!isLauncherVersionSupported && !unsafeUninstall))
|
||||
bool unsafeUninstall = (advancedOptionsUnlocked || !isLauncherVersionSupported) && cursor == MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP;
|
||||
if(!unlaunchFound || !unsafeUninstall)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user