From e396f2766a8831126cced751a2c8770f721ea1ac Mon Sep 17 00:00:00 2001 From: awslawsl233 <89617778+awslawsl233@users.noreply.github.com> Date: Tue, 14 Dec 2021 16:51:19 +0800 Subject: [PATCH] Update readme.eng.md --- docs/readme.eng.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/readme.eng.md b/docs/readme.eng.md index 28ee212..be14bca 100644 --- a/docs/readme.eng.md +++ b/docs/readme.eng.md @@ -119,13 +119,13 @@ windows 10 and windows server. Its not required to install any linux distributions as suggested in most articles. tpws is static binary. It doesn't need a distribution. -Install WSL : dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all +Install WSL : `dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all` Copy binaries/x86_64/tpws_wsl.tgz to the target system. -Run : wsl --import tpws "%USERPROFILE%\tpws" tpws_wsl.tgz -Run tpws : wsl --exec /tpws --uid=1 --no-resolve --socks --bind-addr=127.0.0.1 --port=1080 +Run : `wsl --import tpws "%USERPROFILE%\tpws" tpws_wsl.tgz` +Run tpws : `wsl --exec /tpws --uid=1 --no-resolve --socks --bind-addr=127.0.0.1 --port=1080 ` Configure socks as 127.0.0.1:1080 in a browser or another program. -Cleanup : wsl --unregister tpws +Cleanup : `wsl --unregister tpws` Tested in windows 10 build 19041 (20.04).