hopefully working mac total mem

This commit is contained in:
lunarcleint
2023-03-23 17:44:54 -07:00
parent 97791b36dc
commit 44a4598958
2 changed files with 35 additions and 29 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class SystemInfo extends FramerateCategory {
public static var memType:String = "Unknown";
public static inline function init() {
osInfo = '${lime.system.System.platformLabel.replace(lime.system.System.platformVersion, "")} ${lime.system.System.platformVersion}';
osInfo = '${lime.system.System.platformLabel.replace(lime.system.System.platformVersion, "").trim()} ${lime.system.System.platformVersion}';
#if windows
var process = new HiddenProcess("wmic", ["cpu", "get", "name"]);