major update

This commit is contained in:
Puechberty Arthur
2026-06-26 21:41:36 +02:00
parent d30398c705
commit 9e02e75a98
13 changed files with 293 additions and 51 deletions
+1
View File
@@ -37,6 +37,7 @@ void get_info(SysInfo *info) {
read_file("/etc/os-release", buf, sizeof(buf));
extract_value(buf, "PRETTY_NAME", info->os, sizeof(info->os));
extract_value(buf, "ID", info->os_id, sizeof(info->os_id));
extract_value(buf, "ANSI_COLOR", info->distro_color, sizeof(info->distro_color)); // NOUVEAU
struct utsname uts;
uname(&uts);