@arkts/image-manager 0.1.3 → 0.1.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/dist/index.cjs CHANGED
@@ -627,8 +627,8 @@ async function resolveImageManagerOptions(options) {
627
627
  }
628
628
  function resolveDefaultEmulatorPath() {
629
629
  switch (process.platform) {
630
- case "darwin": return "/Applications/DevEco-Studio.app/Contents/tools/emulator/Emulator";
631
- case "win32": return "C:\\Program Files\\Huawei\\DevEco Studio\\tools\\emulator\\Emulator.exe";
630
+ case "darwin": return "/Applications/DevEco-Studio.app/Contents/tools/emulator";
631
+ case "win32": return "C:\\Program Files\\Huawei\\DevEco Studio\\tools\\emulator";
632
632
  default: return path.resolve(os.homedir(), ".huawei", "Emulator");
633
633
  }
634
634
  }
package/dist/index.mjs CHANGED
@@ -595,8 +595,8 @@ async function resolveImageManagerOptions(options) {
595
595
  }
596
596
  function resolveDefaultEmulatorPath() {
597
597
  switch (process.platform) {
598
- case "darwin": return "/Applications/DevEco-Studio.app/Contents/tools/emulator/Emulator";
599
- case "win32": return "C:\\Program Files\\Huawei\\DevEco Studio\\tools\\emulator\\Emulator.exe";
598
+ case "darwin": return "/Applications/DevEco-Studio.app/Contents/tools/emulator";
599
+ case "win32": return "C:\\Program Files\\Huawei\\DevEco Studio\\tools\\emulator";
600
600
  default: return path.resolve(os.homedir(), ".huawei", "Emulator");
601
601
  }
602
602
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arkts/image-manager",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "OpenHarmony/HarmonyOS qemu image manager.",
6
6
  "author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
7
7
  "license": "MIT",