Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

- Fixed setting `throttle_window_ms` to 0 should disable it ([#382](https://github.com/getsentry/sentry-godot/pull/382))
- Fixed failing to set initial user on Apple platforms ([#390](https://github.com/getsentry/sentry-godot/pull/390))
- Added missing `crashpad_wer.dll` to Windows builds and export dependencies ([#396](https://github.com/getsentry/sentry-godot/pull/396))

### Other changes

Expand Down
14 changes: 12 additions & 2 deletions modules/sentry-native.SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@ elif platform == "macos":

# Crashpad handler
if platform == "windows":
build_targets.append(File(f"sentry-native/install/bin/crashpad_handler.exe"))
build_targets.append(File("sentry-native/install/bin/crashpad_handler.exe"))
build_targets.append(File("sentry-native/install/bin/crashpad_wer.dll"))
build_targets.append(File("sentry-native/install/bin/crashpad_wer.pdb"))
else:
build_targets.append(File(f"sentry-native/install/bin/crashpad_handler"))
build_targets.append(File("sentry-native/install/bin/crashpad_handler"))

# Other defines
env.Append(CPPDEFINES=["SENTRY_BUILD_STATIC", "SDK_NATIVE"])
Expand Down Expand Up @@ -199,6 +201,14 @@ def CopyCrashpadHandler(self, target_dir):
target_dir.File("crashpad_handler.pdb"),
source_dir.File("crashpad_handler.pdb")
)
copy_file_action(
target_dir.File("crashpad_wer.dll"),
source_dir.File("crashpad_wer.dll")
)
copy_file_action(
target_dir.File("crashpad_wer.pdb"),
source_dir.File("crashpad_wer.pdb")
)
else:
copy_file_action(
target_dir.File("crashpad_handler"),
Expand Down
6 changes: 4 additions & 2 deletions src/manifest.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ linux.x86_32 = {
}

windows.x86_64 = {
"res://addons/sentry/bin/windows/x86_64/crashpad_handler.exe" : ""
"res://addons/sentry/bin/windows/x86_64/crashpad_handler.exe" : "",
"res://addons/sentry/bin/windows/x86_64/crashpad_wer.dll": ""
}

windows.x86_32 = {
"res://addons/sentry/bin/windows/x86_32/crashpad_handler.exe" : ""
"res://addons/sentry/bin/windows/x86_32/crashpad_handler.exe" : "",
"res://addons/sentry/bin/windows/x86_32/crashpad_wer.dll": ""
}

macos.debug = {
Expand Down
Loading