UI: Improve multi OS display #205
@ -115,6 +115,7 @@
|
||||
.then((values) => {
|
||||
// Extract the architecture value
|
||||
const arch = values.architecture;
|
||||
|
||||
// Check if the architecture is ARM
|
||||
if (arch.toLowerCase().includes('arm')) {
|
||||
return true;
|
||||
@ -173,9 +174,9 @@
|
||||
// TODO: WIP show only relevant item for active macOS architecture, if architecture detection reliably works
|
||||
if (activePlatformPrefix.startsWith('mac')) {
|
||||
if (isArchARM()) {
|
||||
console.log('Platform: macOS Apple Silicon');
|
||||
|
||||
} else {
|
||||
console.log('Platform: macOS Intel');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user