mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-01 15:59:45 -04:00
Integrate Sentry crash reporting for public builds
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include <thread>
|
||||
#include "SSystem/SComponent/c_API.h"
|
||||
#include "dusk/app_info.hpp"
|
||||
#include "dusk/crash_reporting.h"
|
||||
#include "dusk/dusk.h"
|
||||
#include "dusk/frame_interpolation.h"
|
||||
#include "dusk/gyro_aim.h"
|
||||
@@ -446,6 +447,7 @@ int game_main(int argc, char* argv[]) {
|
||||
|
||||
dusk::config::LoadFromUserPreferences();
|
||||
ApplyCVarOverrides(parsed_arg_options["cvar"]);
|
||||
dusk::InitializeCrashReporting();
|
||||
|
||||
AuroraConfig config{};
|
||||
config.appName = dusk::AppName;
|
||||
@@ -501,6 +503,7 @@ int game_main(int argc, char* argv[]) {
|
||||
if (!dvd_opened) {
|
||||
// pre game launch ui main loop
|
||||
if (!launchUILoop()) {
|
||||
dusk::ShutdownCrashReporting();
|
||||
aurora_shutdown();
|
||||
return 0;
|
||||
}
|
||||
@@ -538,6 +541,7 @@ int game_main(int argc, char* argv[]) {
|
||||
|
||||
main01();
|
||||
|
||||
dusk::ShutdownCrashReporting();
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user