From d7bde7797753568b6d55bef3bc209025caefcbcd Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Fri, 11 Oct 2024 15:06:48 +0800
Subject: [PATCH] up PackageReference
---
v2rayN/ProtosLib/ProtosLib.csproj | 2 +-
v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs | 4 ++--
v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj | 12 ++++++------
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/v2rayN/ProtosLib/ProtosLib.csproj b/v2rayN/ProtosLib/ProtosLib.csproj
index dea1f90aa3..4418da520a 100644
--- a/v2rayN/ProtosLib/ProtosLib.csproj
+++ b/v2rayN/ProtosLib/ProtosLib.csproj
@@ -11,7 +11,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs
index ea8db5e2e5..0ba71e7e7d 100644
--- a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs
+++ b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs
@@ -342,6 +342,7 @@ private void Init()
TaskHandler.Instance.RegUpdateTask(_config, UpdateTaskHandler);
RefreshRoutingsMenu();
+ InboundDisplayStaus();
//RefreshServers();
Reload();
@@ -657,6 +658,7 @@ private async Task OptionSettingAsync()
var ret = await _updateView?.Invoke(EViewAction.OptionSettingWindow, null);
if (ret == true)
{
+ InboundDisplayStaus();
//RefreshServers();
Reload();
}
@@ -796,8 +798,6 @@ private async Task ChangeSystemProxyStatusAsync(ESysProxyType type, bool blChang
BlSystemProxyNothing = (type == ESysProxyType.Unchanged);
BlSystemProxyPac = (type == ESysProxyType.Pac);
- InboundDisplayStaus();
-
if (blChange)
{
_updateView?.Invoke(EViewAction.DispatcherRefreshIcon, null);
diff --git a/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj b/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj
index e6b29cd2d2..2ed2ee1b9d 100644
--- a/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj
+++ b/v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj
@@ -18,12 +18,12 @@
-
-
-
-
-
-
+
+
+
+
+
+