Pregunta

I've implemented a drag-and-drop function in my application. The app let's you open .kext files.

I've used -(void)application:openFiles: as well as having set the Document Types: Document Types setup

All works well, and my app can detect when the kext is dropped. However, when a Kext is dropped, all kexts on my Mac change icon to Folder icon! I guess it has something to do with my app messing with the file associations.

Is there any way around this?

¿Fue útil?

Solución

Wow, the answer was simple: Tick the Document is distributed as Bundle box in the Document Types area, and the Icon doesn't change.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top