add crashreporter

This commit is contained in:
milek7
2021-02-09 15:16:14 +01:00
parent 2376aa6fb0
commit 3d15cf3672
19 changed files with 463 additions and 81 deletions

View File

@@ -147,6 +147,9 @@ void render_task::cancel() {
// initializes the module. returns true on success
auto python_taskqueue::init() -> bool {
crashreport_add_info("python.threadedupload", Global.python_threadedupload ? "yes" : "no");
crashreport_add_info("python.uploadmain", Global.python_uploadmain ? "yes" : "no");
#ifdef _WIN32
if (sizeof(void*) == 8)
Py_SetPythonHome("python64");