feature merge the sentry mac and win on the sentry server

This commit is contained in:
alves
2025-12-15 16:09:32 +08:00
parent b2b8be7302
commit 3cb6f3a094
2 changed files with 18 additions and 20 deletions

View File

@@ -111,14 +111,12 @@ static sentry_value_t before_send(sentry_value_t event, void* hint, void* data)
void initSentryEx()
{
sentry_options_t* options = sentry_options_new();
std::string dsn = "";
std::string dsn = std::string("https://c74b617c2aedc291444d3a238d23e780@o4508125599563776.ingest.us.sentry.io/4510425163956224");
{
#ifdef __APPLE__
std::string dsn = std::string("https://ac473187efb8877f36bd31694ffd5dec@o4508125599563776.ingest.us.sentry.io/4510425212059648");
#ifdef __APPLE__
#elif _WIN32
std::string dsn = std::string("https://c74b617c2aedc291444d3a238d23e780@o4508125599563776.ingest.us.sentry.io/4510425163956224");
#endif
sentry_options_set_dsn(options, dsn.c_str());
std::string handlerDir = "";