mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 11:44:55 +00:00
Update boo, integrate sentry
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include <list>
|
||||
#include "hecl/Database.hpp"
|
||||
#include "hecl/Blender/Connection.hpp"
|
||||
#include "hecl/Runtime.hpp"
|
||||
#include "logvisor/logvisor.hpp"
|
||||
#include "../version.h"
|
||||
|
||||
@@ -309,6 +310,12 @@ int main(int argc, const char** argv)
|
||||
logvisor::RegisterConsoleLogger();
|
||||
atSetExceptionHandler(AthenaExc);
|
||||
|
||||
#if SENTRY_ENABLED
|
||||
hecl::Runtime::FileStoreManager fileMgr{_SYS_STR("sentry-native-hecl")};
|
||||
hecl::SystemUTF8Conv cacheDir{fileMgr.getStoreRoot()};
|
||||
logvisor::RegisterSentry("hecl", URDE_WC_DESCRIBE, cacheDir.c_str());
|
||||
#endif
|
||||
|
||||
/* Basic usage check */
|
||||
if (argc == 1) {
|
||||
printHelp(argv[0]);
|
||||
|
||||
2
hecl/extern/boo
vendored
2
hecl/extern/boo
vendored
Submodule hecl/extern/boo updated: 717eac9cc3...80f25c5368
Reference in New Issue
Block a user