samuelmeuli/glance

Groovy files isn't viewable in Catalina

Lucas3oo opened this issue · 0 comments

Environment

  • App version?
    1.2.4
  • macOS version?
    Catalina 10.15.5

Bug Information

  • What are you trying to do?
    View groovy code.
  • What's the expected behavior?
    See the content of the groovy file
  • What's the actual behavior?
    No preview at all.

Checked the type:
mdls -name kMDItemContentType tmp/CreateDockerImageTask.groovy
kMDItemContentType = "dyn.ah62d4rv4ge80s6xtr75hw"

In Info.plist dyn.ah62d4rv4ge80s6xtr75hw is missing. Instead there is org.codehaus.groovy-source for groovy.
So maybe this works on other versions of macOS.