xfuture 1.3.1 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config.js CHANGED
@@ -164,7 +164,8 @@ xConfig.ai = {
164
164
  "tuic.exe",
165
165
  "juicity-client.exe",
166
166
  "juicity.exe",
167
- "electron.exe"
167
+ "electron.exe",
168
+ "maodou.exe"
168
169
  ]
169
170
  },
170
171
  {
@@ -197,7 +198,8 @@ xConfig.ai = {
197
198
  "sing-box.exe",
198
199
  "juicity-client.exe",
199
200
  "juicity.exe",
200
- "electron.exe"
201
+ "electron.exe",
202
+ "maodou.exe"
201
203
  ]
202
204
  },
203
205
  {
@@ -394,7 +396,8 @@ xConfig.global = {
394
396
  "tuic.exe",
395
397
  "juicity-client.exe",
396
398
  "juicity.exe",
397
- "electron.exe"
399
+ "electron.exe",
400
+ "maodou.exe"
398
401
  ]
399
402
  },
400
403
  {
@@ -427,7 +430,8 @@ xConfig.global = {
427
430
  "sing-box.exe",
428
431
  "juicity-client.exe",
429
432
  "juicity.exe",
430
- "electron.exe"
433
+ "electron.exe",
434
+ "maodou.exe"
431
435
  ]
432
436
  },
433
437
  {
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xfuture",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "electron vpn sdk",
5
5
  "main": "x.js",
6
6
  "scripts": {
package/parser.js CHANGED
@@ -51,9 +51,6 @@ class xParser {
51
51
  var address = ipPorts[0];
52
52
  var port = ipPorts[1] * 1
53
53
 
54
- var security = "";
55
- var method = accountPasswords[0];
56
- var password = accountPasswords[1];
57
54
  var routing = {};
58
55
  var rules = [];
59
56
  if (!this.isGlobalMode) {
@@ -88,8 +85,6 @@ class xParser {
88
85
  info = raw.split("@");
89
86
  }
90
87
  if (info.length < 2) return {};
91
-
92
- var uuid = info[0];
93
88
  var config = info[1].split("?");
94
89
  if (config.length < 2) return {};
95
90
 
@@ -102,10 +97,6 @@ class xParser {
102
97
  if (suffix.length < 2) return {};
103
98
 
104
99
  var remark = suffix[1];
105
-
106
- var tag = "proxy";
107
- var parameters = suffix[0].split("&");
108
-
109
100
  var routing = {};
110
101
  var rules = [];
111
102
  if (!this.isGlobalMode) {
@@ -131,7 +122,6 @@ class xParser {
131
122
  return {};
132
123
  }
133
124
 
134
- var uuid = info[0];
135
125
  var config = info[1].split("?");
136
126
  if (config.length < 2) {
137
127
  return {};