Do not search for crashpad inside Interface binary.

This commit is contained in:
Julian Groß 2021-10-12 00:20:43 +02:00
parent 26641f938e
commit e5609e10c2

View file

@ -386,6 +386,8 @@ bool startCrashHandler(std::string appPath) {
} else {
qCDebug(crash_handler) << "Locating own directory by argv[0]";
interfaceDir.setPath(QString::fromStdString(appPath));
// argv[0] gets us the path including the binary file
interfaceDir.cdUp();
}
if (!interfaceDir.exists(CRASHPAD_HANDLER_NAME)) {