@lazycatcloud/lzc-cli 1.2.12 → 1.2.14

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.
@@ -251,7 +251,7 @@ export class AppDevShell {
251
251
  application: {
252
252
  devshell: options["devshell"],
253
253
  health_check: {
254
- test_url: `app.${manifest["package"]}.lzcapp/__isdevshell`,
254
+ test_url: `http://app.${manifest["package"]}.lzcapp/__isdevshell`,
255
255
  },
256
256
  },
257
257
  };
@@ -59,6 +59,8 @@ export class Publish {
59
59
  changelog,
60
60
  iconPath: lpkInfo.iconPath,
61
61
  pkgPath: lpkInfo.url,
62
+ supportPC: lpkInfo.supportPC,
63
+ supportMobile: lpkInfo.supportMobile,
62
64
  }),
63
65
  }).then(async (res) => {
64
66
  if (res.status >= 400) {
package/lib/shellapi.js CHANGED
@@ -24,7 +24,6 @@ class ShellApi {
24
24
  constructor() {}
25
25
 
26
26
  async init() {
27
- this.info = await this.initBoxInfo();
28
27
  const pbShell = this.initShell();
29
28
  const { addr, cred } = this.readShellApiInfo();
30
29
  this.client = new pbShell.ShellCore(
@@ -35,6 +34,7 @@ class ShellApi {
35
34
  const md = new grpc.Metadata();
36
35
  md.add("lzc-shellapi-cred", cred);
37
36
  this.metadata = md;
37
+ this.info = await this.initBoxInfo();
38
38
  }
39
39
 
40
40
  get boxname() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/lzc-cli",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "description": "lazycat cloud developer kit",
5
5
  "files": [
6
6
  "template",