qlstephen icon indicating copy to clipboard operation
qlstephen copied to clipboard

Does not work on executable files

Open fzwo opened this issue 4 years ago • 1 comments

I have many extensionless text files marked as executable on my drive. I think this may be a result of unzipping them.

Unfortunately, QLStephen doesn't work on those files. When I remove the x attribute, it works fine.

I noticed that I am not the only one with this issue: https://github.com/whomwah/qlstephen/issues/87#issuecomment-590575312

Is there anything that can be done?

fzwo avatar Feb 09 '21 19:02 fzwo

Adding public.unix-executable to the LSItemContentTypes in the Info.plist seems to have done the trick. I'll run with this configuration for a while and report back if I find any ill effects.

fzwo avatar Feb 09 '21 19:02 fzwo