Jump to content

Javascript files are being identified as public.folder by macOS (so don't work in a folder filter in Alfred)


Recommended Posts

You can't delete Preview or Mail—they're part of the OS.

 

And you don't just delete the apps. That just tells you which apps mention public.folder. You still have to check manually whether they're assigning the .js extension to public.folder.

 

You should also check other locations that contain app bundles, such as ~/Applications.

Edited by deanishe
Link to comment
9 minutes ago, deanishe said:

still have to check manually whether they're assigning the .js extension to public.folder

 

How do I do this? I tried googling it but got no results. check if app is assigning extension macos was query I ran.

 

9 minutes ago, deanishe said:

such as ~/Applications

 

My ~/Applications is empty

 

 

Link to comment

I am a bit confused how do I invoke this CFBundleDocumentTypes on an app from CLI.

 

The other strange thing is that these JS/TS/.d.ts files have the proper kind show in Get Info.

 

1992163092_2018-11-11at18_49.png.07f74c2cf6857e8c8886862c20d6880f.png

 

But Alfred Metadata shows them to have public.folder. Although File Type is probably different to Kind.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...