intourResult=inst::ui::mainApp->CreateShowDialog("Install signature patches?","Signature patches are required for installing and playing NSP contents."+versionText,{"Install","Uninstall","Cancel"},true);
inst::ui::mainApp->CreateShowDialog("Network connection not available","Check that airplane mode is disabled and you're connected to a local network.",{"OK"},true);
if(inst::util::removeDirectory("sdmc:/atmosphere/exefs_patches/es_patches"))inst::ui::mainApp->CreateShowDialog("Uninstall complete","Restart your console to apply",{"OK"},true);
elseinst::ui::mainApp->CreateShowDialog("Unable to remove signature patches","Files may have been renamed or deleted",{"OK"},true);
}elsereturn;
}
catch(std::exception&e)
{
printf("Failed to install Signature Patches");
printf("%s",e.what());
fprintf(stdout,"%s",e.what());
inst::ui::mainApp->CreateShowDialog("Failed to install Signature Patches!",(std::string)e.what(),{"OK"},true);