[config]: Read toml config file from appdata location
This commit is contained in:
1 parent
c88cbafbfd
commit
28d11c0d9f
11 files changed
+80
-8
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "common_utils.h"
|
||||
#include <boost/locale.hpp>
|
||||
#include "global/globals.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -80,6 +81,11 @@ string get_local_appdata_path()
|
||||
return localAppDataDirStr.empty() ? "" : localAppDataDirStr;
|
||||
}
|
||||
|
||||
string get_ime_data_path()
|
||||
{
|
||||
return get_local_appdata_path() + "\\" + wstring_to_string(GlobalIme::AppName);
|
||||
}
|
||||
|
||||
string get_username()
|
||||
{
|
||||
char *localAppDataDir = nullptr;
|
||||
|
||||
Reference in new issue
Block a user