From 5b924aaf608d91e411bd4c05751dc0b7323c36a7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 17 Mar 2023 11:50:31 +0000 Subject: [PATCH] crashReporter: add hl ver --- src/debug/CrashReporter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp index 713f91df..4037ad44 100644 --- a/src/debug/CrashReporter.cpp +++ b/src/debug/CrashReporter.cpp @@ -46,6 +46,8 @@ void CrashReporter::createAndSaveCrash(int sig) { finalCrashReport += getFormat("Hyprland received signal %d (%s)\n\n", sig, strsignal(sig)); + finalCrashReport += getFormat("Version: %s\n\n", GIT_COMMIT_HASH); + if (!g_pPluginSystem->getAllPlugins().empty()) { finalCrashReport += "Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.\nPlugins:\n";