fix win pack lost dlls bug (#53)

* 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

* feature merge mac sentry to win platform.

* fix mac build error bug

* feature add sentry config for mac cmake

* fix packed the soft and not copy dlls question

* fix windows not copy library bug

* feature remove test code
This commit is contained in:
Alves
2025-12-09 10:24:15 +08:00
committed by GitHub
parent ccae13b98b
commit f32aa81f6a
7 changed files with 192 additions and 52 deletions

View File

@@ -33,6 +33,10 @@
using namespace nlohmann;
#endif
#include "sentry_wrapper/SentryWrapper.hpp"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
#include <boost/nowide/args.hpp>
@@ -6291,6 +6295,12 @@ extern "C" {
#else /* _MSC_VER */
int main(int argc, char **argv)
{
return CLI().run(argc, argv);
initSentry();
auto res = CLI().run(argc, argv);
exitSentry();
return res;
}
#endif /* _MSC_VER */