mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-14 07:52:56 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user