mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 21:36:57 +00:00
feature add sentry for catch crash on win (#50)
* feature add sentry for soft catch dmp * feature add cli upload pdb to sentry server * feature add flag for control sentry to use * fix flag not effect on src/makefile * feature unzip for dmp file to upload sentry server * feature remove test code * feature add api for function report log to server * feature update the soft version
This commit is contained in:
@@ -737,3 +737,9 @@ endif ()
|
||||
|
||||
# Add a definition so that we can tell we are compiling slic3r.
|
||||
target_compile_definitions(libslic3r_gui PRIVATE SLIC3R_CURRENTLY_COMPILING_GUI_MODULE)
|
||||
|
||||
# Sentry crash reporting integration
|
||||
if (SLIC3R_SENTRY)
|
||||
target_compile_definitions(libslic3r_gui PUBLIC SLIC3R_SENTRY)
|
||||
target_link_libraries(libslic3r_gui sentry::sentry)
|
||||
endif()
|
||||
@@ -72,6 +72,7 @@
|
||||
#include <dbt.h>
|
||||
#include <shlobj.h>
|
||||
#include <shellapi.h>
|
||||
#include "sentry_wrapper/SentryWrapper.hpp"
|
||||
#endif // _WIN32
|
||||
#include <slic3r/GUI/CreatePresetsDialog.hpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user