Automating/Scripting on MacOS

Associate
Joined
28 May 2021
Posts
1,310
Location
St Albans
I wonder if MacOS does this in a similar fashion to Windows..

What I would like to do is apply a script to file by drag/drop

eg for ApplicationX.app

sudo xattr -lr /Applications/ApplicationX.app
sudo xattr -cr /Applications/ApplicationX.app
sudo codesign -f -s - /Applications/ApplicationX.app

So I want a script that I can drag the ApplicationX onto and release and have it do those 3 things?

Anyone help a MacOS noob out, please?
 
Back
Top Bottom