1) Open Automator (use Finder)
2) Select New => Application (Set the name for the app, in my case "Sketchv2"
3) Under Actions Search Bar, select Run AppleScript and drag to the right panel (Or double click)
4) Add this to the text area (Remove any previews content inside the text area)(Remember to replace PATHTOTHISREPO with the full path where is this repo is in your mac)
do shell script "sudo /PATHTOTHISREPO/sketchtrial/sketch.sh" with administrator privileges
5) You can press the play button to test.
6) Click on File => Convert To => Application
7) Move the new Application to "Applications" folder
8) you can add the new application to your docker
8) you can change the icon Following this link https://9to5mac.com/2019/01/17/change-mac-icons/
Just for educational purposes.
1) Open Automator (use Finder) 2) Select New => Application (Set the name for the app, in my case "Sketchv2" 3) Under Actions Search Bar, select Run AppleScript and drag to the right panel (Or double click) 4) Add this to the text area (Remove any previews content inside the text area)(Remember to replace PATHTOTHISREPO with the full path where is this repo is in your mac)
do shell script "sudo /PATHTOTHISREPO/sketchtrial/sketch.sh" with administrator privileges
5) You can press the play button to test. 6) Click on File => Convert To => Application 7) Move the new Application to "Applications" folder 8) you can add the new application to your docker 8) you can change the icon Following this link https://9to5mac.com/2019/01/17/change-mac-icons/notanIssue