How can I run another instance of the application while the application is already running, by clicking on the application icon in /Applications/?
I don't want to run it from /Applications/myapp.app/Contents/MacOS/myapp
Can I link a script file containing statements
open -n /Applications/myapp.app
or
open -n /Applications/myapp.app/Contents/MacOS/myapp
… with the application icon click?
I've tried making changes in Info.plist of the application
key-Executable file value-myapp
(present at /Applications/myapp.app/Contents/MacOS/myapp)
changes
key-Executable file value-launch.sh
(present at /Applications/myapp.app/Contents/MacOS/launch.sh)
As I know an Application Bundle on OS X can only be started once. By simply copying the bundle the same application can be launched twice.
Is there any solution for the above problem?