mirror of
https://gitea.tendokyu.moe/TeamTofuShop/taitools.git
synced 2026-09-25 15:47:57 +03:00
11 lines
226 B
C
11 lines
226 B
C
#include "env.h"
|
|
|
|
const wchar_t* get_config_path() {
|
|
static wchar_t path[MAX_PATH];
|
|
if (!GetEnvironmentVariableW(L"TAITOOLS_CONFIG_PATH", path, MAX_PATH)) {
|
|
return L".\\taitools.ini";
|
|
}
|
|
|
|
return path;
|
|
}
|