Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
This commit is contained in:
1 parent
d5cb122e3a
commit
d02827d228
12 files changed
+63
-6
No files matched your search
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "StringFormat.h"
|
||||
#include "Util.h"
|
||||
#include "MapDefines.h"
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
@@ -1373,6 +1374,8 @@ void LoadCommonMPQFiles(uint32 build)
|
||||
|
||||
int main(int argc, char * arg[])
|
||||
{
|
||||
Trinity::VerifyOsVersion();
|
||||
|
||||
Trinity::Banner::Show("Map & DBC Extractor", [](char const* text) { printf("%s\n", text); }, nullptr);
|
||||
|
||||
PrintProgress = isatty(fileno(stdout));
|
||||
|
||||
Reference in new issue
Block a user