Scripting

Adaway as an App to be installed

I have initially created a post related to this, in which you will have a script file which needs to be manually executed. So I have developed an Apple Script to make it run from launchpad.

Click adaway.app to download the compressed file. You can just download this compressed file, extract and copy to Applications folder.

It will create an entry similar to what you can see below

This will have two user interactive inputs from the user

1. User Consent to update the host file
2. Whether to take the back up of existing content of hosts file or not

Few other screenshots from the app

User will be asked for the root user password in order to update the content of /etc/hosts file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.