Compare commits

..

No commits in common. "8e6b99d94a1952a601a791f30869e473ad6f96a9" and "34e7af710c40e503bef3ad7919608b64d9db755c" have entirely different histories.

6 changed files with 7 additions and 6 deletions

View file

@ -28,7 +28,7 @@ Package: v2rayN
Version: $Version Version: $Version
Architecture: $Arch2 Architecture: $Arch2
Maintainer: https://github.com/2dust/v2rayN Maintainer: https://github.com/2dust/v2rayN
Depends: desktop-file-utils, xdg-utils Depends: desktop-file-utils
Description: A GUI client for Windows and Linux, support Xray core and sing-box-core and others Description: A GUI client for Windows and Linux, support Xray core and sing-box-core and others
EOF EOF

View file

@ -615,7 +615,7 @@ Source0: __PKGROOT__.tar.gz
# Runtime dependencies (Avalonia / X11 / Fonts / GL) # Runtime dependencies (Avalonia / X11 / Fonts / GL)
Requires: libX11, libXrandr, libXcursor, libXi, libXext, libxcb, libXrender, libXfixes, libXinerama, libxkbcommon Requires: libX11, libXrandr, libXcursor, libXi, libXext, libxcb, libXrender, libXfixes, libXinerama, libxkbcommon
Requires: fontconfig, freetype, cairo, pango, mesa-libEGL, mesa-libGL, xdg-utils Requires: fontconfig, freetype, cairo, pango, mesa-libEGL, mesa-libGL
%description %description
v2rayN Linux for Red Hat Enterprise Linux v2rayN Linux for Red Hat Enterprise Linux

View file

@ -235,7 +235,6 @@ public class MainWindowViewModel : MyReactiveObject
{ {
await StatisticsManager.Instance.Init(_config, UpdateStatisticsHandler); await StatisticsManager.Instance.Init(_config, UpdateStatisticsHandler);
} }
await RefreshServers();
BlReloadEnabled = true; BlReloadEnabled = true;
await Reload(); await Reload();
@ -488,7 +487,7 @@ public class MainWindowViewModel : MyReactiveObject
} }
else if (Utils.IsLinux()) else if (Utils.IsLinux())
{ {
ProcUtils.ProcessStart("xdg-open", path); ProcUtils.ProcessStart("nautilus", path);
} }
else if (Utils.IsOSX()) else if (Utils.IsOSX())
{ {

View file

@ -257,7 +257,7 @@ public class ProfilesViewModel : MyReactiveObject
SelectedMoveToGroup = new(); SelectedMoveToGroup = new();
await RefreshSubscriptions(); await RefreshSubscriptions();
//await RefreshServers(); await RefreshServers();
} }
#endregion Init #endregion Init

View file

@ -112,6 +112,7 @@ public partial class ProfilesView : ReactiveUserControl<ProfilesViewModel>
}); });
RestoreUI(); RestoreUI();
ViewModel?.RefreshServers();
} }
private async void LstProfiles_Sorting(object? sender, DataGridColumnEventArgs e) private async void LstProfiles_Sorting(object? sender, DataGridColumnEventArgs e)

View file

@ -106,6 +106,7 @@ public partial class ProfilesView
}); });
RestoreUI(); RestoreUI();
ViewModel?.RefreshServers();
} }
#region Event #region Event