Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Commit b0e1635

Browse files
authored
Use NAME instead of PRETTY_NAME
1 parent 7dcbbc3 commit b0e1635

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/funkin/backend/system/framerate/SystemInfo.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class SystemInfo extends FramerateCategory {
2929
var osName = "";
3030
var osVersion = "";
3131
for (line in process.stdout.readAll().toString().split("\n")) {
32-
if (line.startsWith("PRETTY_NAME=")) {
32+
if (line.startsWith("NAME=")) {
3333
var index = line.indexOf('"');
3434
if (index != -1)
3535
osName = line.substring(index + 1, line.lastIndexOf('"'));
@@ -178,4 +178,4 @@ class SystemInfo extends FramerateCategory {
178178
this.text.text = _text;
179179
super.__enterFrame(t);
180180
}
181-
}
181+
}

0 commit comments

Comments
 (0)