mirror of
https://github.com/esuo1198/TaikoArcadeLoader.git
synced 2026-10-01 11:18:16 +03:00
Add QR customfolder support
This commit is contained in:
+4
-1
@@ -114,7 +114,10 @@ DllMain (HMODULE module, DWORD reason, LPVOID reserved) {
|
||||
auto configPath = std::filesystem::current_path () / "config.toml";
|
||||
toml_table_t *config = openConfig (configPath);
|
||||
if (config) {
|
||||
server = readConfigString (config, "server", server);
|
||||
auto amauth = openConfigSection(config, "amauth");
|
||||
if (amauth) {
|
||||
server = readConfigString(amauth, "server", server);
|
||||
}
|
||||
toml_free (config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user