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 show
pac on <pac-url>
pac off [old-pac-url-prefix]pac off with old-pac-url will turn off pac setting only if the existing pac url is prefixed with old-pac-url-prefix.
#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.
To avoid bringing up console window, it doesn't show anything directly to console. Piping the result to other utilities should work.
pac show | cat
- Linux
sudo apt-get install libgtk2.0-dev