From 24566901fb0e07ff97a64bcfd7e90ad8f78e05ab Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Mon, 23 Sep 2024 17:22:14 +0800
Subject: [PATCH] up PackageReference
---
v2rayN/ProtosLib/ProtosLib.csproj | 4 ++--
v2rayN/ServiceLib/ServiceLib.csproj | 6 +++---
v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj | 2 +-
v2rayN/v2rayN/Views/MainWindow.xaml.cs | 3 ++-
v2rayN/v2rayN/v2rayN.csproj | 2 +-
5 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/v2rayN/ProtosLib/ProtosLib.csproj b/v2rayN/ProtosLib/ProtosLib.csproj
index 91569b53..dea1f90a 100644
--- a/v2rayN/ProtosLib/ProtosLib.csproj
+++ b/v2rayN/ProtosLib/ProtosLib.csproj
@@ -9,8 +9,8 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/v2rayN/ServiceLib/ServiceLib.csproj b/v2rayN/ServiceLib/ServiceLib.csproj
index 6f6bec69..b51d1cb7 100644
--- a/v2rayN/ServiceLib/ServiceLib.csproj
+++ b/v2rayN/ServiceLib/ServiceLib.csproj
@@ -8,11 +8,11 @@
-
-
+
+
-
+
diff --git a/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj b/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj
index 6e421b31..1eda6990 100644
--- a/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj
+++ b/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj
@@ -27,7 +27,7 @@
-
+
diff --git a/v2rayN/v2rayN/Views/MainWindow.xaml.cs b/v2rayN/v2rayN/Views/MainWindow.xaml.cs
index 8fca88cf..37ab2720 100644
--- a/v2rayN/v2rayN/Views/MainWindow.xaml.cs
+++ b/v2rayN/v2rayN/Views/MainWindow.xaml.cs
@@ -493,7 +493,8 @@ namespace v2rayN.Views
{
var coreInfo = CoreInfoHandler.Instance.GetCoreInfo();
foreach (var it in coreInfo
- .Where(t => t.coreType != ECoreType.v2fly
+ .Where(t => t.coreType != ECoreType.v2fly
+ && t.coreType != ECoreType.SagerNet
&& t.coreType != ECoreType.clash
&& t.coreType != ECoreType.clash_meta
&& t.coreType != ECoreType.hysteria))
diff --git a/v2rayN/v2rayN/v2rayN.csproj b/v2rayN/v2rayN/v2rayN.csproj
index 01628743..66d3e499 100644
--- a/v2rayN/v2rayN/v2rayN.csproj
+++ b/v2rayN/v2rayN/v2rayN.csproj
@@ -19,7 +19,7 @@
-
+