You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnome-shell-extension-arcmenu/SOURCES/0005-Read-system-name-from-...

26 lines
771 B

From 5e5077142a0cfd7a18621275010c0682b02e20cf Mon Sep 17 00:00:00 2001
From: tigro <arkadiy.sheyn@softline.com>
Date: Fri, 27 Oct 2023 11:55:33 +0300
Subject: [PATCH 5/5] Read system name from MSVSPHERE_PRETTY_NAME
---
prefs.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prefs.js b/prefs.js
index 916491b..07de5ea 100644
--- a/prefs.js
+++ b/prefs.js
@@ -6364,7 +6364,7 @@ var AboutPage = GObject.registerClass(
});
let osInfoText;
let name = GLib.get_os_info("NAME");
- let prettyName = GLib.get_os_info("PRETTY_NAME");
+ let prettyName = GLib.get_os_info("MSVSPHERE_PRETTY_NAME");
if(prettyName)
osInfoText = prettyName;
else
--
2.41.0