mirror of
https://gitea.tendokyu.moe/TeamTofuShop/bananatools.git
synced 2026-09-28 09:58:01 +03:00
11 lines
232 B
C
11 lines
232 B
C
#include "env.h"
|
|
|
|
const wchar_t* get_config_path() {
|
|
static wchar_t path[MAX_PATH];
|
|
if (!GetEnvironmentVariableW(L"BANANATOOLS_CONFIG_PATH", path, MAX_PATH)) {
|
|
return L".\\bananatools.ini";
|
|
}
|
|
|
|
return path;
|
|
}
|