mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
修订代码
This commit is contained in:
@@ -105,8 +105,9 @@ func printSupportedProtocols() {
|
||||
|
||||
//see https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en
|
||||
func tryDownloadMMDB() {
|
||||
fp := utils.GetFilePath(netLayer.GeoipFileName)
|
||||
|
||||
if utils.FileExist(utils.GetFilePath(netLayer.GeoipFileName)) {
|
||||
if utils.FileExist(fp) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -262,8 +262,6 @@ func mainFunc() (result int) {
|
||||
|
||||
}
|
||||
|
||||
runPreCommands()
|
||||
|
||||
var defaultInServer proxy.Server
|
||||
var Default_uuid string
|
||||
|
||||
@@ -364,6 +362,8 @@ func mainFunc() (result int) {
|
||||
|
||||
}
|
||||
|
||||
runPreCommands()
|
||||
|
||||
if (defaultOutClient != nil) && (defaultInServer != nil || len(allServers) > 0 || len(tproxyConfs) > 0) {
|
||||
|
||||
if mode == proxy.SimpleMode {
|
||||
|
||||
Reference in New Issue
Block a user