diff --git a/v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs b/v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs index e8a2fc03..49af04b3 100644 --- a/v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs @@ -71,8 +71,6 @@ public class CheckUpdateViewModel : MyReactiveObject var sp = Utils.StartupPath()?.Replace('\\', '/'); if (!string.IsNullOrEmpty(sp) && sp.StartsWith("/opt/v2rayN", StringComparison.OrdinalIgnoreCase)) return true; - if (System.IO.Directory.Exists("/opt/v2rayN")) - return true; } catch {