mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
use hardware requirements to display conflicts and prevent install (#2700)
* use hardware requirements to display conflicts and prevent install * better messaging and also consider OS compatibility * wip: backend hw requirements * update backend components * migration --------- Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
@@ -73,11 +73,7 @@ export function buildManifest<
|
||||
stop: manifest.alerts?.stop || null,
|
||||
},
|
||||
hardwareRequirements: {
|
||||
device: Object.fromEntries(
|
||||
Object.entries(manifest.hardwareRequirements?.device || {}).map(
|
||||
([k, v]) => [k, v.source],
|
||||
),
|
||||
),
|
||||
device: manifest.hardwareRequirements?.device || [],
|
||||
ram: manifest.hardwareRequirements?.ram || null,
|
||||
arch:
|
||||
manifest.hardwareRequirements?.arch === undefined
|
||||
|
||||
Reference in New Issue
Block a user