"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Main/sentryIntegration.cxx" between
flightgear-2020.1.1.tar.bz2 and flightgear-2020.1.2.tar.bz2

About: FlightGear is a multi-platform, cooperative flight simulator development project.

sentryIntegration.cxx  (flightgear-2020.1.1.tar.bz2):sentryIntegration.cxx  (flightgear-2020.1.2.tar.bz2)
skipping to change at line 43 skipping to change at line 43
static bool static_sentryEnabled = false; static bool static_sentryEnabled = false;
#include <sentry.h> #include <sentry.h>
namespace flightgear namespace flightgear
{ {
void initSentry() void initSentry()
{ {
sentry_options_t *options = sentry_options_new(); sentry_options_t *options = sentry_options_new();
sentry_options_set_dsn(options, "https://3a3f0bf24d5d482388dd060860c18ffe@se // API key is defined in config.h, set in an environment variable prior
ntry.io/5188535"); // to running CMake, so it can be customised. Env var at build time is:
// FLIGHTGEAR_SENTRY_API_KEY
sentry_options_set_dsn(options, SENTRY_API_KEY);
if (strcmp(FG_BUILD_TYPE, "Dev") == 0) { if (strcmp(FG_BUILD_TYPE, "Dev") == 0) {
sentry_options_set_release(options, "flightgear-dev@" FLIGHTGEAR_VERSION ); sentry_options_set_release(options, "flightgear-dev@" FLIGHTGEAR_VERSION );
} else { } else {
sentry_options_set_release(options, "flightgear@" FLIGHTGEAR_VERSION); sentry_options_set_release(options, "flightgear@" FLIGHTGEAR_VERSION);
} }
SGPath dataPath = fgHomePath() / "sentry_db"; SGPath dataPath = fgHomePath() / "sentry_db";
#if defined(SG_WINDOWS) #if defined(SG_WINDOWS)
const auto homePathString = dataPath.wstr(); const auto homePathString = dataPath.wstr();
 End of changes. 1 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)