mirror of https://github.com/2dust/v2rayN
Fix update the pre version
parent
d329646a52
commit
9664d1d77f
|
@ -629,7 +629,7 @@ namespace v2rayN.Handler
|
||||||
server.security = details.Groups["method"].Value;
|
server.security = details.Groups["method"].Value;
|
||||||
server.id = details.Groups["password"].Value;
|
server.id = details.Groups["password"].Value;
|
||||||
server.address = details.Groups["hostname"].Value;
|
server.address = details.Groups["hostname"].Value;
|
||||||
server.port = int.Parse(details.Groups["port"].Value);
|
server.port = Utils.ToInt(details.Groups["port"].Value);
|
||||||
return server;
|
return server;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -514,7 +514,7 @@ namespace v2rayN.Handler
|
||||||
throw new ArgumentException("Type");
|
throw new ArgumentException("Type");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (curVersion >= version)
|
if (curVersion >= version && version != new SemanticVersion(0, 0, 0))
|
||||||
{
|
{
|
||||||
AbsoluteCompleted?.Invoke(this, new ResultEventArgs(false, message));
|
AbsoluteCompleted?.Invoke(this, new ResultEventArgs(false, message));
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -160,7 +160,7 @@ namespace v2rayN.Mode
|
||||||
public class TunModeItem
|
public class TunModeItem
|
||||||
{
|
{
|
||||||
public bool enableTun { get; set; }
|
public bool enableTun { get; set; }
|
||||||
public bool strictRoute { get; set; }
|
public bool strictRoute { get; set; } = true;
|
||||||
public string stack { get; set; }
|
public string stack { get; set; }
|
||||||
public int mtu { get; set; }
|
public int mtu { get; set; }
|
||||||
public bool enableExInbound { get; set; }
|
public bool enableExInbound { get; set; }
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace v2rayN.Tool
|
||||||
this.major = 0;
|
this.major = 0;
|
||||||
this.minor = 0;
|
this.minor = 0;
|
||||||
this.patch = 0;
|
this.patch = 0;
|
||||||
this.version = "0.0.0";
|
//this.version = "0.0.0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue