Mercurial > minori
comparison src/core/config.cc @ 228:d030b30526d5
config: remove unused username parameter from anilist auth
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 09 Jan 2024 08:05:36 -0500 |
parents | f784b5b1914c |
children | c130f47f6f48 |
comparison
equal
deleted
inserted
replaced
227:c4f03f83b252 | 228:d030b30526d5 |
---|---|
31 */ | 31 */ |
32 | 32 |
33 int Config::Load() { | 33 int Config::Load() { |
34 std::filesystem::path cfg_path = Filesystem::GetConfigPath(); | 34 std::filesystem::path cfg_path = Filesystem::GetConfigPath(); |
35 | 35 |
36 mINI::INIFile file(cfg_path.string()); | 36 mINI::INIFile file(cfg_path.u8string()); |
37 mINI::INIStructure ini; | 37 mINI::INIStructure ini; |
38 file.read(ini); | 38 file.read(ini); |
39 | 39 |
40 service = Translate::ToService(INI::GetIniValue<std::string>(ini, "General", "Service", "None")); | 40 service = Translate::ToService(INI::GetIniValue<std::string>(ini, "General", "Service", "None")); |
41 | 41 |