2023-09-05 02:07:55 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace inst::config {
|
|
|
|
static const std::string appDir = "sdmc:/switch/tinwoo";
|
|
|
|
static const std::string configPath = appDir + "/config.json";
|
2023-10-06 02:34:49 +01:00
|
|
|
static const std::string appVersion = "1.0.21";
|
2023-09-05 02:07:55 +01:00
|
|
|
|
|
|
|
extern std::string gAuthKey;
|
|
|
|
extern std::string sigPatchesUrl;
|
|
|
|
extern std::string httpIndexUrl;
|
|
|
|
extern std::string httplastUrl;
|
2023-09-24 02:45:37 +01:00
|
|
|
extern std::string httplastUrl2;
|
2023-09-05 02:07:55 +01:00
|
|
|
extern std::vector<std::string> updateInfo;
|
|
|
|
extern int languageSetting;
|
|
|
|
extern bool ignoreReqVers;
|
|
|
|
extern bool validateNCAs;
|
|
|
|
extern bool overClock;
|
|
|
|
extern bool deletePrompt;
|
|
|
|
extern bool autoUpdate;
|
|
|
|
extern bool usbAck;
|
2023-09-19 03:50:51 +01:00
|
|
|
extern bool useTheme;
|
2023-09-05 02:07:55 +01:00
|
|
|
extern bool useSound;
|
2023-10-03 10:27:58 +01:00
|
|
|
extern bool useMusic;
|
2023-09-05 02:07:55 +01:00
|
|
|
extern bool fixticket;
|
2023-09-08 03:11:50 +01:00
|
|
|
extern bool listoveride;
|
2023-09-05 02:07:55 +01:00
|
|
|
extern bool httpkeyboard;
|
|
|
|
|
|
|
|
void setConfig();
|
|
|
|
void parseConfig();
|
|
|
|
}
|