mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-13 20:09:12 +00:00
Update CheckUpdateViewModel.cs
This commit is contained in:
parent
935a3b99e4
commit
8e1d4e059f
1 changed files with 0 additions and 2 deletions
|
@ -71,8 +71,6 @@ public class CheckUpdateViewModel : MyReactiveObject
|
||||||
var sp = Utils.StartupPath()?.Replace('\\', '/');
|
var sp = Utils.StartupPath()?.Replace('\\', '/');
|
||||||
if (!string.IsNullOrEmpty(sp) && sp.StartsWith("/opt/v2rayN", StringComparison.OrdinalIgnoreCase))
|
if (!string.IsNullOrEmpty(sp) && sp.StartsWith("/opt/v2rayN", StringComparison.OrdinalIgnoreCase))
|
||||||
return true;
|
return true;
|
||||||
if (System.IO.Directory.Exists("/opt/v2rayN"))
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue