mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 20:58:21 +10:00
13 lines
474 B
Diff
13 lines
474 B
Diff
diff --git a/RestrictEvents/RestrictEvents.cpp b/RestrictEvents/RestrictEvents.cpp
|
|
index 27562f0..66365a3 100644
|
|
--- a/RestrictEvents/RestrictEvents.cpp
|
|
+++ b/RestrictEvents/RestrictEvents.cpp
|
|
@@ -61,6 +61,7 @@ struct RestrictEventsPolicy {
|
|
static const char *procBlacklist[] {
|
|
"/System/Library/CoreServices/ExpansionSlotNotification",
|
|
"/System/Library/CoreServices/MemorySlotNotification",
|
|
+ "/usr/libexec/displaypolicyd",
|
|
};
|
|
|
|
char pathbuf[MAXPATHLEN];
|