add specify a config file as argument

This commit is contained in:
Sam39
2022-08-22 11:15:08 +03:00
parent 000af36510
commit e485d457a6
4 changed files with 56 additions and 41 deletions

View File

@@ -98,9 +98,9 @@ class ShutdownException : public std::runtime_error {
};
struct UIData {
static inline std::string GamePath, ProfilePath, CachePath, Build, PublicKey, UserRole, Username, GameVer;
static inline bool LoginAuth{false}, Console{false};
static inline std::string GamePath, ProfilePath, CachePath, Build, PublicKey, UserRole, Username, GameVer, ConfigPath;
static inline bool LoginAuth{false}, Console{false}, UI;
};
void UpdateKey(const std::string& newKey);
void entry();
int entry();