mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-23 12:13:11 +00:00
Make home button not work during installs, thanks @DarkMatterCore !
This commit is contained in:
parent
cee9898a99
commit
1374370c78
2 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,7 @@ namespace netInstStuff{
|
||||||
void installNspLan(std::vector<std::string> ourUrlList, int ourStorage)
|
void installNspLan(std::vector<std::string> ourUrlList, int ourStorage)
|
||||||
{
|
{
|
||||||
inst::util::initInstallServices();
|
inst::util::initInstallServices();
|
||||||
appletLockExit();
|
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletBeginBlockingHomeButton(0);
|
||||||
inst::ui::loadInstallScreen();
|
inst::ui::loadInstallScreen();
|
||||||
bool nspInstalled = true;
|
bool nspInstalled = true;
|
||||||
FsStorageId m_destStorageId = FsStorageId_SdCard;
|
FsStorageId m_destStorageId = FsStorageId_SdCard;
|
||||||
|
@ -162,7 +162,7 @@ namespace netInstStuff{
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Done");
|
printf("Done");
|
||||||
appletUnlockExit();
|
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletEndBlockingHomeButton();
|
||||||
inst::ui::loadMainMenu();
|
inst::ui::loadMainMenu();
|
||||||
inst::util::deinitInstallServices();
|
inst::util::deinitInstallServices();
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -82,7 +82,7 @@ namespace nspInstStuff {
|
||||||
void installNspFromFile(std::vector<std::filesystem::path> ourNspList, int whereToInstall)
|
void installNspFromFile(std::vector<std::filesystem::path> ourNspList, int whereToInstall)
|
||||||
{
|
{
|
||||||
inst::util::initInstallServices();
|
inst::util::initInstallServices();
|
||||||
appletLockExit();
|
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletBeginBlockingHomeButton(0);
|
||||||
inst::ui::loadInstallScreen();
|
inst::ui::loadInstallScreen();
|
||||||
bool nspInstalled = true;
|
bool nspInstalled = true;
|
||||||
FsStorageId m_destStorageId = FsStorageId_SdCard;
|
FsStorageId m_destStorageId = FsStorageId_SdCard;
|
||||||
|
@ -156,7 +156,7 @@ namespace nspInstStuff {
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Done");
|
printf("Done");
|
||||||
appletUnlockExit();
|
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletEndBlockingHomeButton();
|
||||||
inst::ui::loadMainMenu();
|
inst::ui::loadMainMenu();
|
||||||
inst::util::deinitInstallServices();
|
inst::util::deinitInstallServices();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue