Question: How to create a Mac application able to open multiple instances by default?
In general, a Mac application bundle maintains a single instance of a Mac program. That is, if I double click on "VLC" it will open the VLC program. If I then double click a second time, it will bring the previous VLC window to the foreground; it will not open a new instance of VLC. But if I run 'open -n' on VLC, it will force VLC to open a second instance.
I am creating a Mac application bundle and would like for a user's second double click to cause a second instance of the application to be launched. I couldn't find any relevant keys for use in Info.plist. Any ideas?
Bundle the open -n command inside of a shell script in your application bundle, and let it start your main application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With