crashhandler: renamed executable in case it's packaged in a global
application folder like /usr/bin
This commit is contained in:
+1
-1
@@ -163,7 +163,7 @@ if(DOXYGEN_FOUND)
|
||||
doxygen_add_docs(docs ALL ${OLIVE_SOURCES})
|
||||
endif()
|
||||
|
||||
set(OLIVE_CRASH_TARGET "crashhandler")
|
||||
set(OLIVE_CRASH_TARGET "olive-crashhandler")
|
||||
|
||||
set(OLIVE_CRASH_SOURCES
|
||||
dialog/crashhandler/crashhandler.h
|
||||
|
||||
@@ -115,7 +115,7 @@ void crash_handler(int sig) {
|
||||
|
||||
output.close();
|
||||
|
||||
QString crash_handler_exe = QDir(qApp->applicationDirPath()).filePath(QStringLiteral("crashhandler"));
|
||||
QString crash_handler_exe = QDir(qApp->applicationDirPath()).filePath(QStringLiteral("olive-crashhandler"));
|
||||
QProcess::startDetached(crash_handler_exe, {log_path});
|
||||
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user