Jump to content

Patching Info.plist patch with Clover


Jademalo
 Share

Recommended Posts

I'm using Smart TouchPad kext and personally do not like finer control and want to set FinerFnBrightnessControl and FinerFnVolumeControl to False/No by default. I have got this working by editing the kext directly, but ideally I would like to make a clover hotpatch to change the value. This means that in the future when I update the kext, I won't have to re-edit it every time.

<dict>
	<key>Comment</key>
	<string>FinerFNxControl no</string>
	<key>Disabled</key>
	<true/>
	<key>Find</key>
	<data>
	b2w8L2tleT4KCQkJCTx0cnVlLz4=
	</data>
	<key>InfoPlistPatch</key>
	<true/>
	<key>Name</key>
	<string>org.emlydinesh.driver.ApplePS2Keyboard</string>
	<key>Replace</key>
	<data>
	b2w8L2tleT4KCQkJCTxuby8+ICA=
	</data>
</dict>

This is what I have so far, but it doesn't seem to work.

Essentially it should change "ol> <true\>" to "ol> <no\>  " - with the two spaces at the end to keep the string the same lenth. InfoPlistPatch is set to true, so if I'm not mistaken this should patch the data in the plist correctly.

 

Any suggestions?

Link to comment
Share on other sites

 Share

×
×
  • Create New...