mirror of
https://github.com/edo9300/unlaunch-installer.git
synced 2025-06-18 14:25:39 -04:00
Revert previous uninstaller change
It broke normal uninstalling
This commit is contained in:
parent
d01ccfbf47
commit
e8d1da5d50
@ -379,8 +379,12 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL:
|
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL:
|
||||||
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP:
|
case MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP:
|
||||||
bool unsafeUninstall = (advancedOptionsUnlocked || !isLauncherVersionSupported) && cursor == MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP;
|
if(!unlaunchFound)
|
||||||
if(!unlaunchFound || !unsafeUninstall)
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
bool unsafeUninstall = advancedOptionsUnlocked && cursor == MAIN_MENU_SAFE_UNLAUNCH_UNINSTALL_NO_BACKUP;
|
||||||
|
if(!isLauncherVersionSupported && !unsafeUninstall)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user