Skip to content

Commit

Permalink
clash: do NOT fetch the previously set config path
Browse files Browse the repository at this point in the history
  • Loading branch information
wongsyrone committed Jan 22, 2020
1 parent 0193495 commit 1b60a2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clash/clash.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func Start(homedir string) {
C.SetHomeDir(homedir)
}

configFile := filepath.Join(C.Path.HomeDir(), C.Path.Config())
configFile := filepath.Join(C.Path.HomeDir(), "config.yaml")
C.SetConfig(configFile)

if err := config.Init(C.Path.HomeDir()); err != nil {
Expand Down

0 comments on commit 1b60a2f

Please sign in to comment.