@arkts/image-manager 0.5.12-beta.1 → 0.5.12-beta.2

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/dist/index.cjs CHANGED
@@ -32,7 +32,7 @@ let base64_js = require("base64-js");
32
32
  let vscode_fs = require("vscode-fs");
33
33
 
34
34
  //#region package.json
35
- var version = "0.5.12-beta.1";
35
+ var version = "0.5.12-beta.2";
36
36
 
37
37
  //#endregion
38
38
  //#region src/common/serializable-content.ts
@@ -303,10 +303,10 @@ var EmulatorFileImpl = class extends SerializableFileImpl {
303
303
  const pushDeviceItem = (item) => {
304
304
  if (EmulatorBasicItem.is(item)) {
305
305
  if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
306
- } else if (EmulatorFoldItem.is(item)) {
307
- if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
308
306
  } else if (EmulatorTripleFoldItem.is(item)) {
309
307
  if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
308
+ } else if (EmulatorFoldItem.is(item)) {
309
+ if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
310
310
  }
311
311
  };
312
312
  for (const item of this.getItems()) if (EmulatorGroupItem.is(item)) for (const child of item.getChildren()) pushDeviceItem(child);
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import { fromByteArray } from "base64-js";
3
3
  import { RelativePattern, WriteableFlags, createNodeFileSystem } from "vscode-fs";
4
4
 
5
5
  //#region package.json
6
- var version = "0.5.12-beta.1";
6
+ var version = "0.5.12-beta.2";
7
7
 
8
8
  //#endregion
9
9
  //#region src/common/serializable-content.ts
@@ -274,10 +274,10 @@ var EmulatorFileImpl = class extends SerializableFileImpl {
274
274
  const pushDeviceItem = (item) => {
275
275
  if (EmulatorBasicItem.is(item)) {
276
276
  if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
277
- } else if (EmulatorFoldItem.is(item)) {
278
- if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
279
277
  } else if (EmulatorTripleFoldItem.is(item)) {
280
278
  if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
279
+ } else if (EmulatorFoldItem.is(item)) {
280
+ if (options.apiVersion && item.getContent().api === options.apiVersion && options.deviceType && item.getContent().deviceType === options.deviceType) items.push(item);
281
281
  }
282
282
  };
283
283
  for (const item of this.getItems()) if (EmulatorGroupItem.is(item)) for (const child of item.getChildren()) pushDeviceItem(child);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arkts/image-manager",
3
3
  "type": "module",
4
- "version": "0.5.12-beta.1",
4
+ "version": "0.5.12-beta.2",
5
5
  "description": "OpenHarmony/HarmonyOS qemu image manager.",
6
6
  "author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
7
7
  "license": "MIT",