upgrade clash core

This commit is contained in:
yichengchen 2019-09-15 21:13:43 +08:00
parent aad6f30762
commit 9db03ac1ce
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
module github.com/yichengchen/clashX/ClashX
require github.com/Dreamacro/clash v0.15.1-0.20190913094430-16e3090ee851
require github.com/Dreamacro/clash v0.15.1-0.20190915053645-b76737bdbbce
go 1.13

View File

@ -1,5 +1,5 @@
github.com/Dreamacro/clash v0.15.1-0.20190913094430-16e3090ee851 h1:VPCCR3dnk02uWKCVkI/Jw1gFBvmttGGAgfqBDb3EL50=
github.com/Dreamacro/clash v0.15.1-0.20190913094430-16e3090ee851/go.mod h1:ZoBUQxijDmqL2TNQpdUbhdIobsxGDmX9c89fAphz6BI=
github.com/Dreamacro/clash v0.15.1-0.20190915053645-b76737bdbbce h1:6GdOyAm/egZta6uSjFja6lavUsIJwTpaBDe2lgCk9vI=
github.com/Dreamacro/clash v0.15.1-0.20190915053645-b76737bdbbce/go.mod h1:ZoBUQxijDmqL2TNQpdUbhdIobsxGDmX9c89fAphz6BI=
github.com/Dreamacro/go-shadowsocks2 v0.1.4 h1:SqSVFdtBHVx2rrMOK+qipO10rRSQQKEeAF9Igm8qB9g=
github.com/Dreamacro/go-shadowsocks2 v0.1.4/go.mod h1:RPU9lnoesqJ/0jFzntFrYpbQI0+NoYiJVu7mWn3Y0cs=
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY=

View File

@ -9,8 +9,6 @@ import (
//export run
func run() *C.char {
// enable tls 1.3 and remove when go 1.13
os.Setenv("GODEBUG", os.Getenv("GODEBUG")+",tls13=1")
if err := hub.Parse(); err != nil {
return C.CString(err.Error())
}

View File

@ -42,6 +42,8 @@ The default configuration directory is `$HOME/.config/clash`
The default name of the configuration file is `config.yml`. You can use your custom config name and switch config in menu `Config` section.
To Change the ports of ClashX, you need to modify the `config.ymal` file. The `General` section settings in your custom config file would be ignored.
Checkout [Clash](https://github.com/Dreamacro/clash) or [SS-Rule-Snippet for Clash](https://github.com/Hackl0us/SS-Rule-Snippet/blob/master/LAZY_RULES/clash.yml) for more detail.
## Advance Config