Skip to content
Snippets Groups Projects
Commit ddcc0fa6 authored by Silvan's avatar Silvan
Browse files

更新说明

parent 7ed97279
No related branches found
No related tags found
No related merge requests found
......@@ -9,12 +9,18 @@
边学go边写的项目,多点谅解,谢谢!
# 运行
先为自己生成证书(windows需要自己下载openssl)
```
#先为自己生成证书(windows需要自己下载openssl)
./createCertificate.sh
#运行程序
```
运行程序(由于m=1时 会自动修改hosts生效 所以需要sudo)
```
sudo ./UnblockNeteaseMusic
#具体参数说明
```
具体参数说明
```
./UnblockNeteaseMusic -h
-c string
specify server cert,such as : "server.crt" (default "./server.crt")
......@@ -28,11 +34,11 @@ sudo ./UnblockNeteaseMusic
specify server port,such as : "80" (default 80)
-sp int
specify server tls port,such as : "443" (default 443)
```
由于m=1时 会自动修改hosts生效 所以需要sudo
重要提示:
重要提示:本应用获取music.163.com的IP是通过本机直接查询,非nodejs版本请求music.httpdns.c.163.com获取
```
本应用获取music.163.com的IP是通过本机直接查询,非nodejs版本请求music.httpdns.c.163.com获取
# 感谢
[NodeJs版本](https://github.com/nondanee/UnblockNeteaseMusic)以及为该项目付出的所有人
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment