dreampiggy / AVIFQuickLook

AVIF QuickLook plugin on macOS
MIT License
171 stars 5 forks source link

Fix extension association #7

Closed grishka closed 3 years ago

grishka commented 3 years ago

In some system configurations, public.avif UTI (universal type identifier) doesn't exist. You can specify the extension explicitly using an arcane thing called "dynamic UTI", which is what I did here. Details: https://alastairs-place.net/blog/2012/06/06/utis-are-better-than-you-think-and-heres-why/

dreampiggy commented 3 years ago

LGTM..

Actually the dynamic UTI type, I don't know whether it will change in the future or has some rules.

Previouslly I only use this for my own case, which since there are one dummy bundled App (AVIF.app) who register the public.avif to the system, it should not be the dynamic UTI.

See the tricks from https://github.com/dreampiggy/AVIFQuickLook/tree/master/App/AVIF.app/Contents