mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
proton: Log the kernel version.
This commit is contained in:
@@ -1062,6 +1062,14 @@ class Session:
|
||||
|
||||
self.try_log_slr_versions()
|
||||
|
||||
try:
|
||||
uname = os.uname()
|
||||
kernel_version = f"{uname.sysname} {uname.release} {uname.version} {uname.machine}"
|
||||
except OSError:
|
||||
kernel_version = "unknown"
|
||||
|
||||
self.log_file.write(f"Kernel: {kernel_version}\n")
|
||||
|
||||
#dump some important variables into the log header
|
||||
for var in ["WINEDLLOVERRIDES", "WINEDEBUG"]:
|
||||
if var in os.environ:
|
||||
|
||||
Reference in New Issue
Block a user