mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
6 lines
190 B
Bash
6 lines
190 B
Bash
|
DIR=`dirname $0`
|
||
|
if [ -z "$VIRTUAL_ENV" ] && [ -f $DIR/../venv.mitmproxy/bin/activate ]; then
|
||
|
echo "Activating mitmproxy virtualenv..."
|
||
|
source $DIR/../venv.mitmproxy/bin/activate
|
||
|
fi
|