diff --git a/image/push.jpg b/image/push.jpg new file mode 100644 index 00000000..869478aa Binary files /dev/null and b/image/push.jpg differ diff --git a/v2rayN/PacLib/PacLib.csproj b/v2rayN/PacLib/PacLib.csproj index ed5be34b..feb6e55d 100644 --- a/v2rayN/PacLib/PacLib.csproj +++ b/v2rayN/PacLib/PacLib.csproj @@ -1,7 +1,7 @@  - net6.0-windows + net8.0 enable diff --git a/v2rayN/ProtosLib/ProtosLib.csproj b/v2rayN/ProtosLib/ProtosLib.csproj index fac333e5..c0df30bb 100644 --- a/v2rayN/ProtosLib/ProtosLib.csproj +++ b/v2rayN/ProtosLib/ProtosLib.csproj @@ -1,6 +1,6 @@  - net6.0-windows + net8.0 enable diff --git a/v2rayN/v2rayN/Global.cs b/v2rayN/v2rayN/Global.cs index 4af96a07..8d67adfd 100644 --- a/v2rayN/v2rayN/Global.cs +++ b/v2rayN/v2rayN/Global.cs @@ -126,7 +126,7 @@ public static readonly Dictionary userAgentTxt = new() { - {"chrome","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36" }, + {"chrome","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" }, {"firefox","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0" }, {"safari","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15" }, {"edge","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.70" }, diff --git a/v2rayN/v2rayN/Tool/Utils.cs b/v2rayN/v2rayN/Tool/Utils.cs index d65bebae..da39bab4 100644 --- a/v2rayN/v2rayN/Tool/Utils.cs +++ b/v2rayN/v2rayN/Tool/Utils.cs @@ -906,8 +906,11 @@ namespace v2rayN public static T DeepCopy(T obj) { object retval; - MemoryStream ms = new MemoryStream(); - BinaryFormatter bf = new BinaryFormatter(); + var ms = new MemoryStream(); + #pragma warning disable SYSLIB0011 // 類型或成員已經過時 + var bf = new BinaryFormatter(); + #pragma warning restore SYSLIB0011 // 類型或成員已經過時 + //序列化成流 bf.Serialize(ms, obj); ms.Seek(0, SeekOrigin.Begin); diff --git a/v2rayN/v2rayN/v2rayN.csproj b/v2rayN/v2rayN/v2rayN.csproj index 21648fd3..fe7e01c3 100644 --- a/v2rayN/v2rayN/v2rayN.csproj +++ b/v2rayN/v2rayN/v2rayN.csproj @@ -3,16 +3,17 @@ true WinExe - net6.0-windows + net8.0-windows10.0.17763.0 enable true app.manifest enable v2rayN.ico Copyright © 2017-2023 (GPLv3) - 6.29 + 6.29.1 + zh-TW - + diff --git a/v2rayN/v2rayUpgrade/v2rayUpgrade.csproj b/v2rayN/v2rayUpgrade/v2rayUpgrade.csproj index 40ddb328..38023316 100644 --- a/v2rayN/v2rayUpgrade/v2rayUpgrade.csproj +++ b/v2rayN/v2rayUpgrade/v2rayUpgrade.csproj @@ -1,6 +1,6 @@  - net6.0-windows + net8.0-windows10.0.17763.0 WinExe true Copyright © 2019-2023 (GPLv3)