Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS

(cherry picked from commit 333630b7de)
This commit is contained in:
Shauren
2023-12-01 19:53:13 +01:00
parent e2b26f2038
commit eb50b29ab3
10 changed files with 41 additions and 6 deletions

View File

@@ -86,6 +86,8 @@ int main(int argc, char** argv)
Trinity::Impl::CurrentServerProcessHolder::_type = SERVER_PROCESS_AUTHSERVER;
signal(SIGABRT, &Trinity::AbortHandler);
Trinity::VerifyOsVersion();
Trinity::Locale::Init();
auto configFile = fs::absolute(_TRINITY_REALM_CONFIG);