Skip to content

Commit

Permalink
Remove SX OS license check
Browse files Browse the repository at this point in the history
  • Loading branch information
Huntereb committed Nov 18, 2019
1 parent 389ffda commit 979aa0e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/util/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 979aa0e

Please sign in to comment.