mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 12:42:27 +08:00
chore: Redundant function calls. (#956)
This commit is contained in:
parent
2e12ceeaed
commit
4af94df142
3
main.go
3
main.go
@ -72,11 +72,10 @@ func main() {
|
|||||||
currentDir, _ := os.Getwd()
|
currentDir, _ := os.Getwd()
|
||||||
configFile = filepath.Join(currentDir, configFile)
|
configFile = filepath.Join(currentDir, configFile)
|
||||||
}
|
}
|
||||||
C.SetConfig(configFile)
|
|
||||||
} else {
|
} else {
|
||||||
configFile = filepath.Join(C.Path.HomeDir(), C.Path.Config())
|
configFile = filepath.Join(C.Path.HomeDir(), C.Path.Config())
|
||||||
C.SetConfig(configFile)
|
|
||||||
}
|
}
|
||||||
|
C.SetConfig(configFile)
|
||||||
|
|
||||||
if geodataMode {
|
if geodataMode {
|
||||||
C.GeodataMode = true
|
C.GeodataMode = true
|
||||||
|
Loading…
Reference in New Issue
Block a user