Skip to content

Commit 9b3150f

Browse files
committed
WIP
1 parent 124296f commit 9b3150f

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

CI/setup-windows-sdk.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
# install as much as possible to be able to develop 64 Bit Windows
3838
# version of Mudlet
3939

40+
find / -name "cmake.exe"
41+
4042
# To be used prior to building Mudlet, after that run:
4143
# * build-mudlet-for-window.sh to compile the currently checked out code
4244
# * package-mudlet-for-windows.sh to put everything together in an archive that

src/main.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -72,27 +72,6 @@ struct VersionInfo {
7272
static VersionInfo versions;
7373

7474
sentry_value_t before_send(sentry_value_t event, void* hint, void* closure) {
75-
auto* versions = static_cast<VersionInfo*>(closure);
76-
77-
// Check if mudlet::self() is initialized to avoid crashes during early startup
78-
auto* mudletInstance = mudlet::self();
79-
if (!mudletInstance) {
80-
// If mudlet is not initialized yet, don't send crashes
81-
return sentry_value_new_null();
82-
}
83-
84-
if (versions->isRelease) {
85-
if (!mudletInstance->smSendCrashesForReleases) {
86-
return sentry_value_new_null();
87-
}
88-
} else if (versions->isPublicTest || versions->isTesting) {
89-
if (!mudletInstance->smSendCrashesForTesting) {
90-
return sentry_value_new_null();
91-
}
92-
} else {
93-
// Development builds - don't send crashes
94-
return sentry_value_new_null();
95-
}
9675
return event;
9776
}
9877
#endif

0 commit comments

Comments
 (0)