mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
fix: typo
This commit is contained in:
1 parent
2951b0c13b
commit
c2ed82168d
1 file changed
+1
-1
@@ -43,7 +43,7 @@ func isVersionSatisfied(version string, mustV2rayCore bool) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to get the version of v2ray-core")
|
||||
}
|
||||
if variant != "V2RAY" {
|
||||
if variant != where.V2ray {
|
||||
if mustV2rayCore {
|
||||
return fmt.Errorf("v2fly/v2ray-core only feature")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user