xfuture
Advanced tools
Comparing version 1.1.9 to 1.2.0
11
index.js
@@ -77,8 +77,17 @@ let xFuturePath = ""; | ||
var json = JSON.stringify(parser.parse(url)); | ||
return ff.ChangeURL(json, url); | ||
return ff.ChangeURL(json, url, false); | ||
} | ||
SetGlobalMode(isGlobalMode, ipdir){ | ||
if (isGlobalMode == parser.isGlobalMode) { | ||
return; | ||
} | ||
parser.isGlobalMode = isGlobalMode; | ||
ff.SetGlobalMode(isGlobalMode, ipdir); | ||
let K_Connected = 2; | ||
if (this.GetCurrentStatus() == K_Connected) { | ||
var url = this.GetCurrentURI(); | ||
var json = JSON.stringify(parser.parse(url)); | ||
this.ChangeURL(json, url, true); | ||
} | ||
} | ||
@@ -85,0 +94,0 @@ |
{ | ||
"name": "xfuture", | ||
"version": "1.1.9", | ||
"version": "1.2.0", | ||
"description": "electron vpn sdk", | ||
@@ -5,0 +5,0 @@ "main": "x.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
87444353
414