windows 下的沒有問題, mac下好像不能運(yùn)行. 故嘗試重新編譯.
- 參考官方安裝go.
- 編譯zhmakeindex
git clone https://github.com/leo-liu/zhmakeindex.git
cd zhmakeindex
go mod init zhmakeindex
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn
go build
install.sh
若出現(xiàn)fatal error: runtime: bsdthread_register error, 則按照https://www.cnblogs.com/layezi/p/16216085.html, 使用
brew doctor
重新安裝brew/core brew/cask等即可.