mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:48:38 +02:00
Do not search for crashpad inside Interface binary.
This commit is contained in:
parent
26641f938e
commit
e5609e10c2
1 changed files with 2 additions and 0 deletions
|
@ -386,6 +386,8 @@ bool startCrashHandler(std::string appPath) {
|
||||||
} else {
|
} else {
|
||||||
qCDebug(crash_handler) << "Locating own directory by argv[0]";
|
qCDebug(crash_handler) << "Locating own directory by argv[0]";
|
||||||
interfaceDir.setPath(QString::fromStdString(appPath));
|
interfaceDir.setPath(QString::fromStdString(appPath));
|
||||||
|
// argv[0] gets us the path including the binary file
|
||||||
|
interfaceDir.cdUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!interfaceDir.exists(CRASHPAD_HANDLER_NAME)) {
|
if (!interfaceDir.exists(CRASHPAD_HANDLER_NAME)) {
|
||||||
|
|
Loading…
Reference in a new issue