mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01: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 {
|
||||
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)) {
|
||||
|
|
Loading…
Reference in a new issue