meixifrontserve 0.4.3 → 0.4.4
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/package.json
CHANGED
|
@@ -51,8 +51,7 @@ class EnvByServerController extends ServerController {
|
|
|
51
51
|
authUrl: _urlConfig.authUrl,
|
|
52
52
|
wsUrl: _urlConfig.wsUrl,
|
|
53
53
|
}
|
|
54
|
-
return
|
|
55
|
-
// return getEnvFileTemplate(envFileParams);
|
|
54
|
+
return getEnvFileTemplate(envFileParams);
|
|
56
55
|
} else {
|
|
57
56
|
setTimeout(() => {
|
|
58
57
|
this.onStart();
|
|
@@ -128,12 +127,9 @@ class EnvByServerController extends ServerController {
|
|
|
128
127
|
Object.keys(interfaces).forEach((interfaceName) => {
|
|
129
128
|
interfaces[interfaceName].forEach((interfaceInfo) => {
|
|
130
129
|
console.log(interfaceName);
|
|
131
|
-
if (interfaceInfo.family === 'IPv4' && !interfaceInfo.internal) {
|
|
130
|
+
if (interfaceInfo.family === 'IPv4' && !interfaceInfo.internal && interfaceName.indexOf('VMware') === -1) {
|
|
132
131
|
ipAddress = interfaceInfo.address;
|
|
133
132
|
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
133
|
});
|
|
138
134
|
});
|
|
139
135
|
return ipAddress;
|
|
@@ -167,8 +163,7 @@ class EnvByServerController extends ServerController {
|
|
|
167
163
|
}
|
|
168
164
|
|
|
169
165
|
|
|
170
|
-
|
|
171
|
-
openDefaultBrowser (url) {
|
|
166
|
+
openDefaultBrowser(url) {
|
|
172
167
|
var exec = require('child_process').exec;
|
|
173
168
|
console.log(process.platform)
|
|
174
169
|
switch (process.platform) {
|
|
@@ -184,7 +179,6 @@ class EnvByServerController extends ServerController {
|
|
|
184
179
|
}
|
|
185
180
|
|
|
186
181
|
|
|
187
|
-
|
|
188
182
|
}
|
|
189
183
|
|
|
190
184
|
|