Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into force-vmm-install
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Jul 31, 2023
2 parents e5c5256 + 9f45386 commit dd4d6e0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ _Note_: Apple CPU identifier must be `0x0F01` for 8 core CPUs or higher and `0x0
#### Boot arguments
- `-revoff` (or `-liluoff`) to disable
- `-revdbg` (or `-liludbgall`) to enable verbose logging (in DEBUG builds)
- `-revbeta` (or `-lilubetaall`) to enable on macOS older than 10.8 or newer than 13
- `-revbeta` (or `-lilubetaall`) to enable on macOS older than 10.8 or newer than 14
- `-revproc` to enable verbose process logging (in DEBUG builds)
- `revpatch=value` to enable patching as comma separated options. Default value is `auto`.
- `memtab` - enable memory tab in System Information on MacBookAir and MacBookPro10,x platforms
Expand All @@ -43,6 +43,23 @@ _Note_: Apple CPU identifier must be `0x0F01` for 8 core CPUs or higher and `0x0

_Note_: `4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revpatch`, `4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revcpu`, `4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revcpuname` and `4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revblock` NVRAM variables work the same as the boot arguments, but have lower priority.

#### Removing badges (This works until macOS 13)

If using RestrictEvents to block PCI and RAM configuration notifications, they will go away, but the alert in the Apple menu will stay. To get rid of this alert, run the following commands:

```
defaults delete com.apple.SlotNotificationsPref memoryBadgeCount
defaults delete com.apple.SlotNotificationsPref expansionBadgeCount
```

<!-- For posterity
- Software update badge:
- Monterey and lower: `defaults delete com.apple.systempreferences AttentionPrefBundleIDs` (checks for `com.apple.preferences.softwareupdate`)
- Ventura and higher: `defaults delete ~/Library/Preferences/com.apple.systempreferences.plist AttentionPrefBundleIDs` (checks for `com.apple.FollowUpSettings.FollowUpSettingsExtension`)
- Full path is required because `defaults` attempts to access a sandboxed path otherwise
- App store updates: `defaults delete com.apple.appstored BadgeCount`
-->

#### Credits
- [Apple](https://www.apple.com) for macOS
- [vit9696](https://github.com/vit9696) for [Lilu.kext](https://github.com/vit9696/Lilu) and great help in implementing some features
4 changes: 2 additions & 2 deletions RestrictEvents.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
MODULE_NAME = as.vit9696.RestrictEvents;
MODULE_START = "$(PRODUCT_NAME)_kern_start";
MODULE_STOP = "$(PRODUCT_NAME)_kern_stop";
MODULE_VERSION = 1.1.2;
MODULE_VERSION = 1.1.3;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
Expand Down Expand Up @@ -428,7 +428,7 @@
MODULE_NAME = as.vit9696.RestrictEvents;
MODULE_START = "$(PRODUCT_NAME)_kern_start";
MODULE_STOP = "$(PRODUCT_NAME)_kern_stop";
MODULE_VERSION = 1.1.2;
MODULE_VERSION = 1.1.3;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
Expand Down

0 comments on commit dd4d6e0

Please sign in to comment.