mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
update android hwinfo
This commit is contained in:
@@ -45,8 +45,9 @@ public class GuiBase {
|
||||
if (hwInfo != null) {
|
||||
return "##########################################\n" +
|
||||
"APP: Forge v." + getInterface().getCurrentVersion() +
|
||||
"\nDEV: " + hwInfo.device().getName() +
|
||||
"\nCPU: " + hwInfo.device().getCpuDescription() +
|
||||
"\nDEV: " + hwInfo.device().getName() + (hwInfo.getChipset() ?
|
||||
"\nSOC: " + hwInfo.device().getChipset() :
|
||||
"\nCPU: " + hwInfo.device().getCpuDescription()) +
|
||||
"\nRAM: " + deviceRAM + " MB" +
|
||||
"\nOS: " + hwInfo.os().getRawDescription() +
|
||||
"\n##########################################";
|
||||
|
||||
@@ -3,5 +3,5 @@ package forge.util;
|
||||
import io.sentry.protocol.Device;
|
||||
import io.sentry.protocol.OperatingSystem;
|
||||
|
||||
public record HWInfo(Device device, OperatingSystem os) {
|
||||
public record HWInfo(Device device, OperatingSystem os, boolean getChipset) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user