Jump to content
Sign in to follow this  
Jademalo

Patching Info.plist patch with Clover

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?

Share this post


Link to post
Share on other sites

you would have to have the kext in L/E or S/L/E so that it would be in cache for clover to patch it. running it from clover/kexts it will not get patched.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×