How to create a desktop shortcut file with command line arguments on MAC

Veeresh

Registered
Can someone help me on How to create a desktop shortcut file with command line arguments on MAC

I need to pass some arguments to .app file which is under Applications folder.

I tried to create a shell script for that and created a shortcut... But the issue is unable to launch the application when I implemented that in my package.

I also tried to create a .app by using automater tool , but the problem is we need to notarize it otherwise gatekeeper could block it.. I don't know how to notarize it
Is there any alternate solutions for my requirement ?
 

Satcomer

In Geostationary Orbit
Can someone help me on How to create a desktop shortcut file with command line arguments on MAC

I need to pass some arguments to .app file which is under Applications folder.

I tried to create a shell script for that and created a shortcut... But the issue is unable to launch the application when I implemented that in my package.

I also tried to create a .app by using automater tool , but the problem is we need to notarize it otherwise gatekeeper could block it.. I don't know how to notarize it
Is there any alternate solutions for my requirement ?
The answer is explained in this video:

 
Top