diff --git a/.github/workflows/build-windows-amd.yml b/.github/workflows/build-windows-amd.yml index 8ea2a1b2..c9a9a3c7 100644 --- a/.github/workflows/build-windows-amd.yml +++ b/.github/workflows/build-windows-amd.yml @@ -55,8 +55,8 @@ jobs: $env:GOAMD64="v3"; $env:CGO_ENABLED=1; go build -tags build_actions -trimpath -ldflags '-w -s -buildid=' -o bin/clash-windows-amd64-v3.exe cd bin/ - Compress-Archive -Path clash-windows-amd64.exe -DestinationPath clash-windows-amd64-$(git describe --tags --always)-$(Get-Date -Format 'yyyyMMdd').zip - Compress-Archive -Path clash-windows-amd64-v3.exe -DestinationPath clash-windows-amd64-v3-$(git describe --tags --always)-$(Get-Date -Format 'yyyyMMdd').zip + Compress-Archive -Path clash-windows-amd64.exe -DestinationPath clash-plus-windows-amd64-$(git describe --tags --always)-$(Get-Date -Format 'yyyy.MM.dd').zip + Compress-Archive -Path clash-windows-amd64-v3.exe -DestinationPath clash-plus-windows-amd64-v3-$(git describe --tags --always)-$(Get-Date -Format 'yyyy.MM.dd').zip Remove-Item -Force clash-windows-amd64.exe Remove-Item -Force clash-windows-amd64-v3.exe diff --git a/README.md b/README.md index b739f0b5..33308ca8 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,29 @@ Documentations are now moved to [GitHub Wiki](https://github.com/Dreamacro/clash/wiki). ## Advanced usage for this branch +### Build +This branch requires cgo and Python3.9, so make sure you set up Python3.9 before building. + +For example, build on macOS: +```shell +brew update +brew install python@3.9 + +export PKG_CONFIG_PATH=$(find /usr/local/Cellar -name 'pkgconfig' -type d | grep lib/pkgconfig | tr '\n' ':' | sed s/.$//) + +git clone -b plus-pro https://github.com/yaling888/clash.git +cd clash + +# build +make cleancache && make local +# or make local-v3 + +ls bin/ + +# run +sudo bin/clash-local +``` + ### MITM configuration A root CA certificate is required, the MITM proxy server will generate a CA certificate file and a CA private key file in your Clash home directory, you can use your own certificate replace it. @@ -345,6 +368,9 @@ external-ui: dashboard ``` Open [http://127.0.0.1:9090/ui/](http://127.0.0.1:9090/ui/) by web browser. +## Plus Pro Release +[Release](https://github.com/yaling888/clash/releases/tag/plus) + ## Development If you want to build an application that uses clash as a library, check out the the [GitHub Wiki](https://github.com/Dreamacro/clash/wiki/use-clash-as-a-library)