mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
chore: Redundant function calls. (#956)
This commit is contained in:
3
main.go
3
main.go
@@ -72,11 +72,10 @@ func main() {
|
||||
currentDir, _ := os.Getwd()
|
||||
configFile = filepath.Join(currentDir, configFile)
|
||||
}
|
||||
C.SetConfig(configFile)
|
||||
} else {
|
||||
configFile = filepath.Join(C.Path.HomeDir(), C.Path.Config())
|
||||
C.SetConfig(configFile)
|
||||
}
|
||||
C.SetConfig(configFile)
|
||||
|
||||
if geodataMode {
|
||||
C.GeodataMode = true
|
||||
|
||||
Reference in New Issue
Block a user