sketchtrial
sketchtrial copied to clipboard
Create Automator script like App (Running with administrator privileges)
Just for educational purposes.
- Open Automator (use Finder)
- Select New => Application (Set the name for the app, in my case "Sketchv2"
- Under Actions Search Bar, select Run AppleScript and drag to the right panel (Or double click)
- 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 - You can press the play button to test.
- Click on File => Convert To => Application
- Move the new Application to "Applications" folder
- you can add the new application to your docker
- you can change the icon Following this link https://9to5mac.com/2019/01/17/change-mac-icons/
#notanIssue
Thank you. You can add it to the readme if you wish, I'll accept PR.
Thanks @gch1p! PR Created!
Very nice addition! Thank you :)
Thank my brother