mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #1407 from JulianGro/macOS_fix_crashpad
Fix crashpad on macOS.
This commit is contained in:
commit
4d190df3cd
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