Mac OS X menu item for quickly enabling/disabling HTTP proxy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
Robert Klep 6857d92704 Updated README 12 yıl önce
resources Using dynamic store to load network services and active interface; changed active icon 12 yıl önce
.hgignore Initial import 12 yıl önce
README.md Updated README 12 yıl önce
ToggleProxy.py Using dynamic store to load network services and active interface; changed active icon 12 yıl önce
setup.py Replaced title with images 12 yıl önce

README.md

ToggleProxy

ToggleProxy is a PyObjC-based application for Mac OS X to quickly enable and disable the HTTP proxy for the currently active networking interface.

It’s a headless application which installs a menu item in the Mac OS X menu bar. The item shows either an up-arrow with a dashed line through it (think traffic is going through a proxy) when the proxy is active, and only an up-arrow when the proxy is not active.

Build

To build the application, you’ll have the Developer tools for Mac OS X installed.

When you have, you first build the application:

python setup.py py2app

This builds the application as dist/ToggleProxy.app. You can run it from there, or move it to somewhere more appropriate first.

Troubleshooting

On Mac OS X Lion, you might get errors running the application. If that happens, first try to find out what the reason is. Run this from the same directory as setup.py:

./dist/ToggleProxy.app/Contents/MacOS/ToggleProxy

If you’re getting errors about frameworks not being found, you might have to install a different version of the py2app module. I’m using this one.