A command line tool to change proxy auto-config settings of operation system.
Binaries included in repo. Simply make to build it again.
Note - you will need to run make separately on each platform.
pac on <pac-url>
pac off [old-pac-url]pac off with old-pac-url will turn off pac setting only if the existing pac url is equal to old-pac-url.
#Notes
- Mac
Setting pac is an privileged action on Mac OS. sudo or elevate it as below.
There's an additional option to chown itself to root:wheel and add setuid bit.
pac setuid- Windows
Install MinGW-W64 to build pac, as it has up to date SDK headers we require.
- Linux
sudo apt-get install libgtk2.0-dev