From 979aa0eec9a42dd15794e6513c48138e18fd1f97 Mon Sep 17 00:00:00 2001 From: Huntereb Date: Mon, 18 Nov 2019 17:32:16 -0500 Subject: [PATCH] Remove SX OS license check --- source/util/util.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/util/util.cpp b/source/util/util.cpp index 83e8177..d43afbf 100755 --- a/source/util/util.cpp +++ b/source/util/util.cpp @@ -11,11 +11,12 @@ #include "util/INIReader.h" #include "util/config.hpp" #include "util/curl.hpp" +#include "ui/MainApplication.hpp" namespace inst::util { void initApp () { - // Dilate - if (std::filesystem::exists("sdmc:/license.dat")) fatalThrow(0); + // Seethe + if (!pu::IsReiNX()) pu::IsAtmosphere(); if (!std::filesystem::exists("sdmc:/switch")) std::filesystem::create_directory("sdmc:/switch"); if (!std::filesystem::exists(inst::config::appDir)) std::filesystem::create_directory(inst::config::appDir); if (std::filesystem::exists(inst::config::configPath)) inst::config::parseConfig();