File: 2017-Log-system-info.patch

package info (click to toggle)
telegram-desktop 5.7.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 63,488 kB
  • sloc: cpp: 756,228; python: 4,383; ansic: 1,505; javascript: 1,366; sh: 884; makefile: 820; objc: 652; xml: 565
file content (17 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Log system info
 So bug reports will contain more helpful information. In particular, which DE
 is in use and current graphical protocol (X11 or Xwayland or Wayland).
Author: Nicholas Guriev <guriev-ns@ya.ru>
Last-Update: Wed, 13 Sep 2023 22:02:45 +0300

--- a/Telegram/SourceFiles/core/application.cpp
+++ b/Telegram/SourceFiles/core/application.cpp
@@ -302,6 +302,8 @@ void Application::run() {
 		}
 	}, _lifetime);
 
+	LOG(("System Info: %1").arg(Platform::SystemVersionPretty()));
+
 	DEBUG_LOG(("Application Info: inited..."));
 
 	DEBUG_LOG(("Application Info: starting app..."));