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
Architecture: $Arch2
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
EOF

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
# == Require Red Hat Enterprise Linux/FedoraLinux/RockyLinux/AlmaLinux/CentOS OR Ubuntu/Debian ==
# == Require Red Hat Enterprise Linux/Fedora Linux/RockyLinux/AlmaLinux/CentOS OR Ubuntu/Debian ==
if [[ -r /etc/os-release ]]; then
. /etc/os-release
case "$ID" in
@ -615,7 +615,7 @@ Source0: __PKGROOT__.tar.gz
# Runtime dependencies (Avalonia / X11 / Fonts / GL)
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
v2rayN Linux for Red Hat Enterprise Linux

View file

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

View file

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

View file

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

View file

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