sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
2.88k stars 71 forks source link

Document Boolean about key, isAboutVisible to disable the about message in the footer #280

Closed kramred closed 2 months ago

kramred commented 2 months ago

Document that there is a Boolean about key in ~/Library/Preferences/org.sbarex.SourceCodeSyntaxHighlight.plist, which sets isAboutVisible

The about key in ~/Library/Preferences/org.sbarex.SourceCodeSyntaxHighlight.plist can be set to NO and disables the about prompt in the footer with the NSHumanReadableCopyright and the prompt:

If you like this app buy me a coffee

See also: https://github.com/sbarex/SourceCodeSyntaxHighlight/blob/master/XPCService/Settings%2BService.swift#L234 https://github.com/sbarex/SourceCodeSyntaxHighlight/blob/master/XPCService/Settings.swift#L991-L1007

Turning the app or system off and on again may be required to pick up the changed Boolean about key and stop rendering the footer…

about_

sbarex commented 2 months ago

You don't need to mess with the settings plist file. There is graphical interface of the application to do this. The names of the settings in the plist file are not guaranteed to remain consistent between versions.

kramred commented 2 months ago

Thanks for the hint - in case someone else missed it, it's only shown when you select "Show advanced settings" in the menu:

Show-advanced-settings

Show-about-info