notify of wiki in case of crashes

This commit is contained in:
vaxerski 2022-06-25 21:16:52 +02:00
parent 316b49eee2
commit 2c8cf6afc4

View file

@ -13,6 +13,10 @@ CCompositor::CCompositor() {
Debug::log(LOG, "========================"); Debug::log(LOG, "========================");
Debug::log(NONE, "\n\n"); // pad
Debug::log(INFO, "If you are crashing, or encounter any bugs, please consult https://github.com/hyprwm/Hyprland/wiki/Crashing-and-bugs\n\n");
setenv("HYPRLAND_INSTANCE_SIGNATURE", m_szInstanceSignature.c_str(), true); setenv("HYPRLAND_INSTANCE_SIGNATURE", m_szInstanceSignature.c_str(), true);
const auto INSTANCEPATH = "/tmp/hypr/" + m_szInstanceSignature; const auto INSTANCEPATH = "/tmp/hypr/" + m_szInstanceSignature;