meixifrontserve 0.4.3 → 0.4.5
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();
|
|
@@ -127,13 +126,9 @@ class EnvByServerController extends ServerController {
|
|
|
127
126
|
let ipAddress;
|
|
128
127
|
Object.keys(interfaces).forEach((interfaceName) => {
|
|
129
128
|
interfaces[interfaceName].forEach((interfaceInfo) => {
|
|
130
|
-
|
|
131
|
-
if (interfaceInfo.family === 'IPv4' && !interfaceInfo.internal) {
|
|
129
|
+
if (interfaceInfo.family === 'IPv4' && !interfaceInfo.internal && interfaceName.indexOf('VMware') === -1) {
|
|
132
130
|
ipAddress = interfaceInfo.address;
|
|
133
131
|
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
132
|
});
|
|
138
133
|
});
|
|
139
134
|
return ipAddress;
|
|
@@ -167,8 +162,7 @@ class EnvByServerController extends ServerController {
|
|
|
167
162
|
}
|
|
168
163
|
|
|
169
164
|
|
|
170
|
-
|
|
171
|
-
openDefaultBrowser (url) {
|
|
165
|
+
openDefaultBrowser(url) {
|
|
172
166
|
var exec = require('child_process').exec;
|
|
173
167
|
console.log(process.platform)
|
|
174
168
|
switch (process.platform) {
|
|
@@ -184,7 +178,6 @@ class EnvByServerController extends ServerController {
|
|
|
184
178
|
}
|
|
185
179
|
|
|
186
180
|
|
|
187
|
-
|
|
188
181
|
}
|
|
189
182
|
|
|
190
183
|
|