From fcdd46a7e701eab96b6d167600f219986b71d88e Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Thu, 3 Oct 2024 15:04:15 +0200 Subject: [PATCH] another precondition fix --- core/tabs/system-setup/arch/tab_data.toml | 10 ++++++++++ core/tabs/system-setup/tab_data.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 core/tabs/system-setup/arch/tab_data.toml diff --git a/core/tabs/system-setup/arch/tab_data.toml b/core/tabs/system-setup/arch/tab_data.toml new file mode 100644 index 000000000..5d59184dc --- /dev/null +++ b/core/tabs/system-setup/arch/tab_data.toml @@ -0,0 +1,10 @@ +[[data.entries]] +name ="Linux Neptune for SteamDeck" +description = "Valve's fork of Linux Kernel for the SteamDeck" +script = "arch/linux-neptune.sh" +task_list = "I PFM K" + +[[data.preconditions]] +matches = true +data = { file = "/sys/devices/virtual/dmi/id/board_vendor" } +values = [ "Dell Inc." ] diff --git a/core/tabs/system-setup/tab_data.toml b/core/tabs/system-setup/tab_data.toml index faa498dd0..ed2d5f51d 100644 --- a/core/tabs/system-setup/tab_data.toml +++ b/core/tabs/system-setup/tab_data.toml @@ -21,7 +21,7 @@ description = "Valve's fork of Linux Kernel for the SteamDeck" script = "arch/linux-neptune.sh" task_list = "I PFM K" -[[data.preconditions]] +[[data.entries.preconditions]] matches = true data = { file = "/sys/devices/virtual/dmi/id/board_vendor" } values = [ "Valve" ]