From 6ff4ab274dd2ca0a0f8087ae26a2fcfd99a8ce7c Mon Sep 17 00:00:00 2001 From: fonaix Date: Mon, 11 Nov 2024 08:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9AMacOS=20=E6=89=93?= =?UTF-8?q?=E5=BC=80=E5=AD=98=E5=82=A8=E6=89=80=E5=9C=A8=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs index f66928ad..9660945e 100644 --- a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs @@ -532,6 +532,10 @@ namespace ServiceLib.ViewModels { Utils.ProcessStart("nautilus", Utils.GetConfigPath()); } + else if (Utils.IsOSX()) + { + Utils.ProcessStart("open", Utils.GetConfigPath()); + } } #endregion Setting