Browse Source

添加:MacOS 打开存储所在位置功能 (#6038)

* 添加:MacOS 代理配置与清除

* 修复:点击表头排序时,超时服务器排在前面的问题

* 添加:MacOS 打开存储所在位置功能

* 修复:删除全部节点时,UI不更新的问题
pull/6045/head
fonaix 2 weeks ago committed by GitHub
parent
commit
61e9101851
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs
  2. 5
      v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs

4
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

5
v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs

@ -479,7 +479,10 @@ namespace ServiceLib.ViewModels
await ConfigHandler.RemoveServer(_config, lstSelecteds);
NoticeHandler.Instance.Enqueue(ResUI.OperationSuccess);
if (lstSelecteds.Count == _profileItems.Count)
{
_profileItems.Clear();
}
RefreshServers();
if (exists)
{

Loading…
Cancel
Save