From f2e0bd4eba04cc886ad127a1225213f2c4303d39 Mon Sep 17 00:00:00 2001 From: JieXu Date: Mon, 1 Jun 2026 13:46:57 +0800 Subject: [PATCH] Bump skiasharp version && Add loong64 Update && Translate FR (#9433) * Update Directory.Packages.props * Update CoreInfoManager.cs * Update CoreInfo.cs * Update UpdateService.cs * Update ResUI.fr.resx * Update ResUI.fr.resx * Update ResUI.fr.resx --- v2rayN/Directory.Packages.props | 2 +- v2rayN/ServiceLib/Manager/CoreInfoManager.cs | 5 ++++ .../ServiceLib/Models/CoreConfigs/CoreInfo.cs | 1 + v2rayN/ServiceLib/Resx/ResUI.fr.resx | 24 +++++++++---------- v2rayN/ServiceLib/Services/UpdateService.cs | 1 + 5 files changed, 20 insertions(+), 13 deletions(-) diff --git a/v2rayN/Directory.Packages.props b/v2rayN/Directory.Packages.props index 46ba4902..671305e6 100644 --- a/v2rayN/Directory.Packages.props +++ b/v2rayN/Directory.Packages.props @@ -34,6 +34,6 @@ - + diff --git a/v2rayN/ServiceLib/Manager/CoreInfoManager.cs b/v2rayN/ServiceLib/Manager/CoreInfoManager.cs index 074342c7..bda3108a 100644 --- a/v2rayN/ServiceLib/Manager/CoreInfoManager.cs +++ b/v2rayN/ServiceLib/Manager/CoreInfoManager.cs @@ -113,6 +113,7 @@ public sealed class CoreInfoManager DownloadUrlLinux64 = urlN + "/download/{0}/v2rayN-linux-64.zip", DownloadUrlLinuxArm64 = urlN + "/download/{0}/v2rayN-linux-arm64.zip", DownloadUrlLinuxRiscV64 = urlN + "/download/{0}/v2rayN-linux-riscv64.zip", + DownloadUrlLinuxLoong64 = urlN + "/download/{0}/v2rayN-linux-loong64.zip", DownloadUrlOSX64 = urlN + "/download/{0}/v2rayN-macos-64.zip", DownloadUrlOSXArm64 = urlN + "/download/{0}/v2rayN-macos-arm64.zip", }, @@ -157,6 +158,7 @@ public sealed class CoreInfoManager DownloadUrlLinux64 = urlXray + "/download/{0}/Xray-linux-64.zip", DownloadUrlLinuxArm64 = urlXray + "/download/{0}/Xray-linux-arm64-v8a.zip", DownloadUrlLinuxRiscV64 = urlXray + "/download/{0}/Xray-linux-riscv64.zip", + DownloadUrlLinuxLoong64 = urlXray + "/download/{0}/Xray-linux-loong64.zip", DownloadUrlOSX64 = urlXray + "/download/{0}/Xray-macos-64.zip", DownloadUrlOSXArm64 = urlXray + "/download/{0}/Xray-macos-arm64-v8a.zip", Match = "Xray", @@ -180,6 +182,7 @@ public sealed class CoreInfoManager DownloadUrlLinux64 = urlMihomo + "/download/{0}/mihomo-linux-amd64-v1-{0}.gz", DownloadUrlLinuxArm64 = urlMihomo + "/download/{0}/mihomo-linux-arm64-{0}.gz", DownloadUrlLinuxRiscV64 = urlMihomo + "/download/{0}/mihomo-linux-riscv64-{0}.gz", + DownloadUrlLinuxLoong64 = urlMihomo + "/download/{0}/mihomo-linux-loong64-abi2-{0}.gz", DownloadUrlOSX64 = urlMihomo + "/download/{0}/mihomo-darwin-amd64-v1-{0}.gz", DownloadUrlOSXArm64 = urlMihomo + "/download/{0}/mihomo-darwin-arm64-{0}.gz", Match = "Mihomo", @@ -223,6 +226,7 @@ public sealed class CoreInfoManager DownloadUrlLinux64 = urlSingbox + "/download/{0}/sing-box-{1}-linux-amd64.tar.gz", DownloadUrlLinuxArm64 = urlSingbox + "/download/{0}/sing-box-{1}-linux-arm64.tar.gz", DownloadUrlLinuxRiscV64 = urlSingbox + "/download/{0}/sing-box-{1}-linux-riscv64.tar.gz", + DownloadUrlLinuxLoong64 = urlSingbox + "/download/{0}/sing-box-{1}-linux-loong64.tar.gz", DownloadUrlOSX64 = urlSingbox + "/download/{0}/sing-box-{1}-darwin-amd64.tar.gz", DownloadUrlOSXArm64 = urlSingbox + "/download/{0}/sing-box-{1}-darwin-arm64.tar.gz", Match = "sing-box", @@ -314,6 +318,7 @@ public sealed class CoreInfoManager names.Add("mihomo-linux-amd64"); names.Add("mihomo-linux-arm64"); names.Add("mihomo-linux-riscv64"); + names.Add("mihomo-linux-loong64-abi2"); } else if (Utils.IsMacOS()) { diff --git a/v2rayN/ServiceLib/Models/CoreConfigs/CoreInfo.cs b/v2rayN/ServiceLib/Models/CoreConfigs/CoreInfo.cs index dc55db91..1cb23af0 100644 --- a/v2rayN/ServiceLib/Models/CoreConfigs/CoreInfo.cs +++ b/v2rayN/ServiceLib/Models/CoreConfigs/CoreInfo.cs @@ -13,6 +13,7 @@ public class CoreInfo public string? DownloadUrlLinux64 { get; set; } public string? DownloadUrlLinuxArm64 { get; set; } public string? DownloadUrlLinuxRiscV64 { get; set; } + public string? DownloadUrlLinuxLoong64 { get; set; } public string? DownloadUrlOSX64 { get; set; } public string? DownloadUrlOSXArm64 { get; set; } public string? Match { get; set; } diff --git a/v2rayN/ServiceLib/Resx/ResUI.fr.resx b/v2rayN/ServiceLib/Resx/ResUI.fr.resx index c9dc042b..818e1d0c 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.fr.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.fr.resx @@ -1675,7 +1675,7 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Ajouter [NaïveProxy] - Insecure Concurrency + Concurrence non sûre Nom d’utilisateur @@ -1699,10 +1699,10 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Allow insecure cert fetch (self-signed) - Only for fetching self-signed certificates. This may expose you to MITM risks. + Pour obtenir des certificats auto-signés uniquement. Risque MITM. - Adresse sortante locale (SendThrough) + Adresse de sortie locale (SendThrough) Pour environnements multi-interfaces, entrez l'adresse IPv4 de la machine locale @@ -1717,30 +1717,30 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Pour les environnements multi-interfaces, entrez le nom de l'interface à lier. Ne fonctionne que sur les systèmes Windows et en mode TUN - Test Configurations UDP Delay + Tester la latence UDP des profils - UDP Test Url + URL de test UDP PreSharedKey - Export v2rayN Internal Share Link to Clipboard + Exporter le lien interne v2rayN vers le presse-papiers - {0} has a new version available: {1} + {0} a une nouvelle version disponible: {1} - Only Check + Uniquement vérifier - Not Support + Non supporté - IP Info + Détails IP - New Update + Nouvelle MAJ - \ No newline at end of file + diff --git a/v2rayN/ServiceLib/Services/UpdateService.cs b/v2rayN/ServiceLib/Services/UpdateService.cs index 8a3bac37..cc2cefab 100644 --- a/v2rayN/ServiceLib/Services/UpdateService.cs +++ b/v2rayN/ServiceLib/Services/UpdateService.cs @@ -342,6 +342,7 @@ public class UpdateService(Config config, Func updateFunc) { Architecture.Arm64 => coreInfo?.DownloadUrlLinuxArm64, Architecture.RiscV64 => coreInfo?.DownloadUrlLinuxRiscV64, + Architecture.LoongArch64 => coreInfo?.DownloadUrlLinuxLoong64, Architecture.X64 => coreInfo?.DownloadUrlLinux64, _ => null, };