- Open up the app
Script Editor
. - Create new document and paste in the code you can find below.
- Click File -> Export... and make sure to export it as an Application in the Applications folder. Also leave every checkbox unchecked and make sure to Code Sign it for Local Use.
- When you run the resulting app for the first time (and possibly the second time), you'll probably get a notification that it requires a certain permission. Just follow the instructions to do that.
You can give the new app the same icon as Arc itself, like so: