UI: Improve multi OS display #205

Merged
Oleg-Komarov merged 40 commits from ui/multi-os into main 2024-07-16 07:24:07 +02:00
Showing only changes of commit 4806926999 - Show all commits

View File

@ -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');
}
}
}