You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also have Apparency installed and would rather it take care of Quick Look for Unix executables. I see in this command line output that this app is handling these:
Is not a simple operation, because every modification break the app signature.
You must edit the Syntax Highlight.app/Contents/PlugIns/Syntax Highlight Quick Look Extension.appex/Contents/Info.plist and remove the occurrence of<string>public.unix-executable</string>. This is used because some terminal scripts are written with bash scripting languages but are recognized as Unix applications.
For what it's worth, I've had luck removing the public.unix-executable UTI, such that Apparency gets a shot.
However, the simple re-signing command shown above will obliterate all of the entitlements. Among other things, that'll prevent macOS from even loading Syntax Highlight's Quick Look extension, because it won't be sandboxed as required.
Fortunately, that problem is easily solved by telling codesign to preserve entitlements, e.g.:
Here, I told it preserve everything for completeness (no idea if any of those other elements are strictly necessary, though).
I'd previously spent some time trying to figure out a better way to influence which Quick Look Preview extension macOS chooses for a specific UTI, without much success.
I also have Apparency installed and would rather it take care of Quick Look for Unix executables. I see in this command line output that this app is handling these:
Yet the file inspector shows that it doesn't, which aligns with it not being in the Formats tab of settings:
So how can I completely disable Syntax Highlight from handling this file format since I want a different extension to do so?
The text was updated successfully, but these errors were encountered: