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