mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-28 21:23:04 +00:00
Compare commits
2 commits
69e96c5621
...
57c18817b8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57c18817b8 | ||
|
|
2cd4be95a3 |
1 changed files with 4 additions and 1 deletions
|
|
@ -231,6 +231,7 @@ public static class ConfigHandler
|
||||||
item.Address = profileItem.Address;
|
item.Address = profileItem.Address;
|
||||||
item.Port = profileItem.Port;
|
item.Port = profileItem.Port;
|
||||||
|
|
||||||
|
item.Username = profileItem.Username;
|
||||||
item.Password = profileItem.Password;
|
item.Password = profileItem.Password;
|
||||||
|
|
||||||
item.Network = profileItem.Network;
|
item.Network = profileItem.Network;
|
||||||
|
|
@ -1109,7 +1110,8 @@ public static class ConfigHandler
|
||||||
|
|
||||||
if (toFile)
|
if (toFile)
|
||||||
{
|
{
|
||||||
profileItem.SetProtocolExtra();
|
//profileItem.SetProtocolExtra();
|
||||||
|
profileItem.SetProtocolExtra(profileItem.GetProtocolExtra());
|
||||||
await SQLiteHelper.Instance.ReplaceAsync(profileItem);
|
await SQLiteHelper.Instance.ReplaceAsync(profileItem);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -1137,6 +1139,7 @@ public static class ConfigHandler
|
||||||
&& AreEqual(o.Address, n.Address)
|
&& AreEqual(o.Address, n.Address)
|
||||||
&& o.Port == n.Port
|
&& o.Port == n.Port
|
||||||
&& AreEqual(o.Password, n.Password)
|
&& AreEqual(o.Password, n.Password)
|
||||||
|
&& AreEqual(o.Username, n.Username)
|
||||||
&& AreEqual(oProtocolExtra.VlessEncryption, nProtocolExtra.VlessEncryption)
|
&& AreEqual(oProtocolExtra.VlessEncryption, nProtocolExtra.VlessEncryption)
|
||||||
&& AreEqual(oProtocolExtra.SsMethod, nProtocolExtra.SsMethod)
|
&& AreEqual(oProtocolExtra.SsMethod, nProtocolExtra.SsMethod)
|
||||||
&& AreEqual(oProtocolExtra.VmessSecurity, nProtocolExtra.VmessSecurity)
|
&& AreEqual(oProtocolExtra.VmessSecurity, nProtocolExtra.VmessSecurity)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue