Compare commits

..

19 commits

Author SHA1 Message Date
DHR60
437b2bd4e6 Refactor 2025-09-13 15:11:10 +08:00
DHR60
81e4755dda Avoid duplicate tags 2025-09-13 15:05:18 +08:00
DHR60
9a78dcb61c Add group in traffic splitting support 2025-09-13 15:05:18 +08:00
DHR60
5bf1b374bd Add PolicyGroup include other Group support 2025-09-13 15:05:18 +08:00
DHR60
5030269fdd Add fallback support 2025-09-13 15:05:17 +08:00
DHR60
02ba731442 Fix 2025-09-13 15:05:17 +08:00
DHR60
c81b89b98c Add Proxy Chain support 2025-09-13 15:05:17 +08:00
DHR60
997d75cc22 Adjust UI 2025-09-13 15:05:17 +08:00
DHR60
17ff20d44a Add generate policy group 2025-09-13 15:05:17 +08:00
DHR60
fcbf477bb1 Add Policy Group support 2025-09-13 15:05:17 +08:00
DHR60
4bf89187a9 Rename 2025-09-13 15:05:17 +08:00
DHR60
c29c4796c7 Exclude specific profile types from selection 2025-09-13 15:05:17 +08:00
DHR60
14ea998a12 Fix right click not working 2025-09-13 15:05:17 +08:00
DHR60
13ed6e84e7 avalonia 2025-09-13 15:05:17 +08:00
DHR60
cfe515c5ac VM and wpf 2025-09-13 15:05:17 +08:00
DHR60
1e054cfc7d Multi Profile 2025-09-13 15:05:17 +08:00
DHR60
4e042295d2
Add global fakeip and fakeip filter (#7919)
Some checks failed
release Linux / build (Release) (push) Has been cancelled
release macOS / build (Release) (push) Has been cancelled
release Windows desktop (Avalonia UI) / build (Release) (push) Has been cancelled
release Windows / build (Release) (push) Has been cancelled
2025-09-13 14:55:30 +08:00
2dust
33d9c5db6c up GlobalUsings 2025-09-13 14:46:35 +08:00
DHR60
cb182125f6
Fix (#7946)
Some checks are pending
release Linux / build (Release) (push) Waiting to run
release macOS / build (Release) (push) Waiting to run
release Windows desktop (Avalonia UI) / build (Release) (push) Waiting to run
release Windows / build (Release) (push) Waiting to run
https://github.com/2dust/v2rayN/pull/7937
2025-09-13 11:13:09 +08:00
38 changed files with 23 additions and 49 deletions

View file

@ -72,11 +72,6 @@ public partial class CoreConfigSingboxService
}
var hostsDomains = new List<string>();
var systemHostsMap = Utils.GetSystemHosts();
foreach (var kvp in systemHostsMap)
{
hostsDomains.Add(kvp.Key);
}
var dnsItem = await AppManager.Instance.GetDNSItem(ECoreType.sing_box);
if (dnsItem == null || dnsItem.Enabled == false)
{
@ -89,12 +84,23 @@ public partial class CoreConfigSingboxService
hostsDomains.Add(kvp.Key);
}
}
if (simpleDNSItem.UseSystemHosts == true)
{
var systemHostsMap = Utils.GetSystemHosts();
foreach (var kvp in systemHostsMap)
{
hostsDomains.Add(kvp.Key);
}
}
}
singboxConfig.route.rules.Add(new()
if (hostsDomains.Count > 0)
{
action = "resolve",
domain = hostsDomains,
});
singboxConfig.route.rules.Add(new()
{
action = "resolve",
domain = hostsDomains,
});
}
singboxConfig.route.rules.Add(new()
{

View file

@ -1,4 +1,3 @@
using System.Data;
using System.Reactive;
using DynamicData.Binding;
using ReactiveUI;

View file

@ -1,7 +1,6 @@
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using ServiceLib.Manager;
using Splat;
using v2rayN.Desktop.Common;
using v2rayN.Desktop.Views;

View file

@ -1,7 +1,6 @@
using Avalonia;
using Avalonia.Interactivity;
using Avalonia.ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Desktop.Base;

View file

@ -1,8 +1,9 @@
global using ServiceLib;
global using ServiceLib;
global using ServiceLib.Base;
global using ServiceLib.Common;
global using ServiceLib.Enums;
global using ServiceLib.Handler;
global using ServiceLib.Manager;
global using ServiceLib.Models;
global using ServiceLib.Resx;
global using ServiceLib.ViewModels;
global using ServiceLib.ViewModels;

View file

@ -1,6 +1,5 @@
using Avalonia;
using Avalonia.ReactiveUI;
using ServiceLib.Manager;
using v2rayN.Desktop.Common;
namespace v2rayN.Desktop;

View file

@ -8,7 +8,6 @@ using Avalonia.Styling;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using Semi.Avalonia;
using ServiceLib.Manager;
namespace v2rayN.Desktop.ViewModels;

View file

@ -2,7 +2,6 @@ using System.Reactive.Disposables;
using Avalonia.Controls;
using Avalonia.Interactivity;
using ReactiveUI;
using ServiceLib.Manager;
using v2rayN.Desktop.Base;
namespace v2rayN.Desktop.Views;

View file

@ -2,7 +2,6 @@ using System.Reactive.Disposables;
using Avalonia.Controls;
using Avalonia.Interactivity;
using ReactiveUI;
using ServiceLib.Manager;
using v2rayN.Desktop.Base;
namespace v2rayN.Desktop.Views;

View file

@ -1,7 +1,6 @@
using System.Reactive.Disposables;
using Avalonia.Interactivity;
using ReactiveUI;
using ServiceLib.Manager;
using v2rayN.Desktop.Base;
namespace v2rayN.Desktop.Views;

View file

@ -10,7 +10,6 @@ using Avalonia.Threading;
using DialogHostAvalonia;
using MsBox.Avalonia.Enums;
using ReactiveUI;
using ServiceLib.Manager;
using Splat;
using v2rayN.Desktop.Base;
using v2rayN.Desktop.Common;

View file

@ -2,7 +2,6 @@ using System.Reactive.Disposables;
using Avalonia.Controls;
using Avalonia.Interactivity;
using ReactiveUI;
using ServiceLib.Manager;
using v2rayN.Desktop.Base;
namespace v2rayN.Desktop.Views;

View file

@ -6,7 +6,6 @@ using Avalonia.Interactivity;
using Avalonia.ReactiveUI;
using Avalonia.VisualTree;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Desktop.Views;

View file

@ -8,7 +8,6 @@ using Avalonia.Threading;
using DialogHostAvalonia;
using MsBox.Avalonia.Enums;
using ReactiveUI;
using ServiceLib.Manager;
using Splat;
using v2rayN.Desktop.Common;

View file

@ -6,7 +6,6 @@ using Avalonia.ReactiveUI;
using Avalonia.Threading;
using DialogHostAvalonia;
using ReactiveUI;
using ServiceLib.Manager;
using Splat;
using v2rayN.Desktop.Common;

View file

@ -2,7 +2,6 @@ using Avalonia.Controls;
using Avalonia.Threading;
using CliWrap.Buffered;
using DialogHostAvalonia;
using ServiceLib.Manager;
namespace v2rayN.Desktop.Views;

View file

@ -1,7 +1,6 @@
using System.Diagnostics;
using System.Windows;
using System.Windows.Threading;
using ServiceLib.Manager;
namespace v2rayN;

View file

@ -1,6 +1,5 @@
using System.Windows;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Base;

View file

@ -1,5 +1,4 @@
using System.Windows.Media;
using ServiceLib.Manager;
namespace v2rayN.Converters;

View file

@ -1,8 +1,9 @@
global using ServiceLib;
global using ServiceLib;
global using ServiceLib.Base;
global using ServiceLib.Common;
global using ServiceLib.Enums;
global using ServiceLib.Handler;
global using ServiceLib.Manager;
global using ServiceLib.Models;
global using ServiceLib.Resx;
global using ServiceLib.ViewModels;
global using ServiceLib.ViewModels;

View file

@ -4,7 +4,6 @@ using System.Text;
using System.Windows;
using System.Windows.Input;
using System.Windows.Interop;
using ServiceLib.Manager;
namespace v2rayN.Manager;

View file

@ -9,7 +9,6 @@ using MaterialDesignColors.ColorManipulation;
using MaterialDesignThemes.Wpf;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using ServiceLib.Manager;
namespace v2rayN.ViewModels;

View file

@ -1,8 +1,8 @@
using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Input;
using ReactiveUI;
using System.Reactive.Disposables;
using DynamicData;
using ReactiveUI;
namespace v2rayN.Views;

View file

@ -1,7 +1,6 @@
using System.Reactive.Disposables;
using System.Windows;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -2,7 +2,6 @@ using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Controls;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -1,7 +1,6 @@
using System.Reactive.Disposables;
using System.Windows;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -1,7 +1,6 @@
using System.Reactive.Disposables;
using System.Windows;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -4,7 +4,6 @@ using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using ReactiveUI;
using ServiceLib.Manager;
using v2rayN.Manager;
namespace v2rayN.Views;

View file

@ -9,7 +9,6 @@ using System.Windows.Media;
using System.Windows.Threading;
using MaterialDesignThemes.Wpf;
using ReactiveUI;
using ServiceLib.Manager;
using Splat;
using v2rayN.Manager;

View file

@ -4,7 +4,6 @@ using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Media;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -4,7 +4,6 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using ReactiveUI;
using ServiceLib.Manager;
using v2rayN.Base;
namespace v2rayN.Views;

View file

@ -8,7 +8,6 @@ using System.Windows.Media;
using System.Windows.Threading;
using MaterialDesignThemes.Wpf;
using ReactiveUI;
using ServiceLib.Manager;
using Splat;
using v2rayN.Base;
using Point = System.Windows.Point;

View file

@ -1,7 +1,6 @@
using System.Reactive.Disposables;
using System.Windows;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -2,7 +2,6 @@ using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Input;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -2,7 +2,6 @@ using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Input;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -3,7 +3,6 @@ using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
using ReactiveUI;
using ServiceLib.Manager;
using Splat;
using v2rayN.Manager;

View file

@ -1,7 +1,6 @@
using System.Reactive.Disposables;
using System.Windows;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;

View file

@ -4,7 +4,6 @@ using System.Windows;
using System.Windows.Input;
using MaterialDesignThemes.Wpf;
using ReactiveUI;
using ServiceLib.Manager;
namespace v2rayN.Views;