sveinbjornt / Platypus

Create native Mac applications from command line scripts.
https://sveinbjorn.org/platypus
BSD 3-Clause "New" or "Revised" License
2.84k stars 171 forks source link

Disable UTIs from the command line #257

Closed oashour closed 7 months ago

oashour commented 1 year ago

Hello,

Is there a way to disable UTIs when using the command line? If I pass the --suffixes flag, they will be correctly added to the generated profile/app, but the default UTIs public.item and public.folder will still be there.

I don't understand UTIs too much, but I need to open two specific extensions (plain text files) associated with certain scientific software that don't have any discernable UTIs (dyn.<random string> when dragged into the GUI). Removing the default UTIs from the GUI and using the suffixes is the only way I've got the app to work, but I can't get rid of the UTIs from the command line.

Thanks!

sveinbjornt commented 7 months ago

Specifying UTIs as an empty string should work, e.g.platypus --uniform-type-identifiers ""