No more vendor or logger
This commit is contained in:
14
work.sh
Normal file
14
work.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#! /bin/bash
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
if [ ! -d /Volumes/bldisk ]; then
|
||||
bash ./ramdisk.sh
|
||||
pushd /Volumes/bldisk/
|
||||
for i in secret client.crt client.key server.crt; do
|
||||
read -p "Ready for $i?" asdf
|
||||
pbpaste > $i
|
||||
done
|
||||
popd
|
||||
fi
|
||||
port="${1:-9181}"
|
||||
echo Proxy on :$port
|
||||
go build -o /tmp/out && /tmp/out -fromcrt "" -port $port -secret "$(cat /Volumes/bldisk/secret)" -toaddr https://bel.house:41312 -bypass youtube.com,,googlevideo.com,,youtu.be -whitelist 192.168.0.86,,scratch.com
|
||||
Reference in New Issue
Block a user