Breakpad implementation (#535)
* qBreakpad simple implementation * update chatterino.pro for linux * Add breakpad building script for linux
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef CHATTERINO_USE_BREAKPAD
|
||||
#include <QBreakpadHandler.h>
|
||||
#endif
|
||||
|
||||
int runGui(QApplication &a, int argc, char *argv[]);
|
||||
void runNativeMessagingHost();
|
||||
void installCustomPalette();
|
||||
@@ -83,6 +87,10 @@ int runGui(QApplication &a, int argc, char *argv[])
|
||||
|
||||
app->construct();
|
||||
|
||||
#ifdef CHATTERINO_USE_BREAKPAD
|
||||
QBreakpadInstance.setDumpPath(app->paths->settingsFolderPath + "/Crashes");
|
||||
#endif
|
||||
|
||||
auto &pathMan = *app->paths;
|
||||
// Running file
|
||||
auto runningPath = pathMan.miscDirectory + "/running_" + pathMan.applicationFilePathHash;
|
||||
|
||||
Reference in New Issue
Block a user