[v1.06][ARM] Add Windows on Arm support (#273)

This commit is contained in:
Wunk
2024-09-10 00:40:46 -07:00
committed by GitHub
parent 57bbe2de4f
commit edbfc9722e
7 changed files with 246 additions and 7 deletions

View File

@@ -887,7 +887,13 @@ bool print_cpufetch_arm(struct cpuInfo* cpu, STYLE s, struct color** cs, struct
char* soc_name = get_soc_name(cpu->soc);
char* features = get_str_features(cpu);
setAttribute(art, ATTRIBUTE_SOC, soc_name);
// Currently no reliable way to identify the specific SoC on Windows
// https://github.com/Dr-Noob/cpufetch/pull/273
// Hide manufacturing process
#if !defined(_WIN32)
setAttribute(art, ATTRIBUTE_TECHNOLOGY, manufacturing_process);
#endif
if(cpu->num_cpus == 1) {
char* uarch = get_str_uarch(cpu);