diff --git a/NightFall/NightFall.vcxproj b/NightFall/NightFall.vcxproj
index ddd9eea..826620f 100644
--- a/NightFall/NightFall.vcxproj
+++ b/NightFall/NightFall.vcxproj
@@ -18,6 +18,42 @@
x64
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
15.0
{A8B2FDD7-257D-44E6-B723-14EB7BDEAA73}
@@ -96,26 +132,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/NightFall/source/UI/DownloadUpdate.cpp b/NightFall/source/UI/DownloadUpdate.cpp
index 7ebb02f..afe3f6e 100644
--- a/NightFall/source/UI/DownloadUpdate.cpp
+++ b/NightFall/source/UI/DownloadUpdate.cpp
@@ -51,8 +51,6 @@ DownloadUpdatePage::DownloadUpdatePage(brls::StagedAppletFrame *frame)
this->label1 = new brls::Label(brls::LabelStyle::DESCRIPTION, "Firmware: " + jso1n["fw_info"]["version"].get());
this->label1->setHorizontalAlign(NVG_ALIGN_CENTER);
this->label1->setParent(this);
- /* Prevent the home button from being pressed during installation. */
- hiddbgDeactivateHomeButton();
}
void DownloadUpdatePage::draw(NVGcontext *vg, int x, int y, unsigned width, unsigned height, brls::Style *style, brls::FrameContext *ctx)
diff --git a/NightFall/source/UI/InstallUpdate.cpp b/NightFall/source/UI/InstallUpdate.cpp
index 83d2579..c412197 100644
--- a/NightFall/source/UI/InstallUpdate.cpp
+++ b/NightFall/source/UI/InstallUpdate.cpp
@@ -46,8 +46,6 @@ InstallUpdate::InstallUpdate(brls::StagedAppletFrame *frame, std::string label,
this->label1->setParent(this);
brls::Logger::debug(path);
Install.m_path = path;
- /* Prevent the home button from being pressed during installation. */
- hiddbgDeactivateHomeButton();
}
InstallUpdate::~InstallUpdate()
diff --git a/NightFall/source/thread.cpp b/NightFall/source/thread.cpp
index fe8b8b3..06fde4d 100644
--- a/NightFall/source/thread.cpp
+++ b/NightFall/source/thread.cpp
@@ -125,6 +125,8 @@ namespace BackGround
}
if (this->m_InstallUpdate == true)
{
+ /* Prevent the home button from being pressed during installation. */
+ hiddbgDeactivateHomeButton();
std::ifstream o("/switch/NightFall/config.json");
o >> config;
if (m_UpdateState == UpdateState::NeedsValidate)
@@ -217,7 +219,7 @@ namespace BackGround
}
if (m_UpdateState == UpdateState::AwaitingReboot)
{
- if (config["Exfat"].get() == 1)
+ if (config["DeleteFolder"].get() == 1)
FS::DeleteDir(this->m_path.c_str());
brls::Logger::debug("Preparado: Reinicio en 3s");
std::this_thread::sleep_for(3s);