bash <(curl -L https://raw.githubusercontent.com/breakwa2333/jsproxy-onekey/master/install.sh)
curl -L https://raw.githubusercontent.com/breakwa2333/jsproxy-onekey/master/install.sh | bash -s auto <host> <port>
Input:
curl -L https://raw.githubusercontent.com/breakwa2333/jsproxy-onekey/master/install.sh | bash -s auto example.com 443
Result:
Waiting for installing...
Installing finished...
Now you can access https://example.com and enjoy.
Input:
curl -L https://raw.githubusercontent.com/breakwa2333/jsproxy-onekey/master/install.sh | bash -s auto random 443
Result:
Waiting for installing...
Installing finished...
Now you can access https://YourIP.Wildcard.DNS and enjoy.
Input:
curl -L https://raw.githubusercontent.com/breakwa2333/jsproxy-onekey/master/install.sh | bash -s auto example.com 65536
Result:
Waiting for installing...
Error! Illigal Port!
Now you can just modify parameters and run the script again.