I’ve got an application that I’ve associated with a file type
When I have an instance of the application running and then double click a document of the associated type, everything works correctly, I get anotherInstanceStarted with the file path as commandLine.
However, if the application isn’t running and I try to start it using either the “Open With” option (on a Mac) or double clicking it, the application is opened correctly but the command line is empty and the anotherInstanceStarted function is never called.
I can’t tell if I’ve missed something that the Projucer does, but it works as intended with the anotherInstanceStarted function being called correctly.
Has anyone got any experience with this?
Is there something I’ve overlooked in the Projucer that makes it work?