We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9cde05 commit 5ba4ce1Copy full SHA for 5ba4ce1
1 file changed
acpi_patch.lua
@@ -0,0 +1,17 @@
1
+
2
+local injection = function(detections, order, plist)
3
+ detections["ACPI > Patch"] = {}
4
+ table.insert(order, 2, "ACPI > Patch") -- After "Info"
5
+ for _, v in pairs(plist.ACPI.Patch) do
6
+ print(v.Enabled)
7
+ if not v.Enabled then
8
+ table.insert(detections["ACPI > Patch"], function() end) -- Add count, do nothing
9
+ else
10
+ table.insert(detections["ACPI > Patch"], function()
11
+ return v.Comment
12
+ end)
13
+ end
14
15
+end
16
17
+return injection
0 commit comments