diff --git a/README.md b/README.md index 8454e06c..a1bc61a2 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,18 @@ kubernetes cluster service can also access your local service ```shell git clone https://github.com/wencaiwulue/kubevpn.git cd kubevpn -make kubevpn-linux/kubevpn-macos/kubevpn-windows +make kubevpn-linux +make kubevpn-macos +make kubevpn-windows ``` if you are using windows, you can build by this command: ```shell -CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o kubevpn.exe ./pkg +go build ``` -attention: if you are using Windows, you need run kubevpn.exe in terminal which needs to be opened by administrator +attention: if you are using Windows, run kubevpn.exe in terminal which needs to be opened by administrator ## Functions diff --git a/README_ZH.md b/README_ZH.md index c3d93a7c..1d5ed424 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -7,13 +7,15 @@ ```shell git clone https://github.com/wencaiwulue/kubevpn.git cd kubevpn -make kubevpn-linux/kubevpn-macos/kubevpn-windows +make kubevpn-linux +make kubevpn-macos +make kubevpn-windows ``` 如果你在使用 Windows 系统,可以使用下面这条命令构建: ```shell -CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o kubevpn.exe ./pkg +go build ``` 注意,执行需要 sudo 权限,如果是 Windows 系统,需要在管理员模式下的 terminal 中运行