@lvce-editor/main-process 6.37.13 → 6.37.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.
@@ -1,7 +1,7 @@
1
1
  import * as Electron from 'electron';
2
2
  import Electron__default, { dialog, app, clipboard, BrowserWindow, MessageChannelMain, Menu, shell, desktopCapturer, contentTracing, net, netLog, powerSaveBlocker, safeStorage, screen, webContents, WebContentsView } from 'electron';
3
3
  import process$1 from 'node:process';
4
- import { fileURLToPath } from 'node:url';
4
+ import { fileURLToPath, pathToFileURL } from 'node:url';
5
5
  import { inspect } from 'node:util';
6
6
  import { spawn } from 'node:child_process';
7
7
  import { Console } from 'node:console';
@@ -5546,7 +5546,7 @@ const takeWorkerHeapSnapshot = async (windowId, workerName) => {
5546
5546
  electronDebugger.off('message', handleMessage);
5547
5547
  }
5548
5548
  success = true;
5549
- return filePath;
5549
+ return pathToFileURL(filePath).href;
5550
5550
  } finally {
5551
5551
  try {
5552
5552
  if (fileDescriptor !== undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "6.37.13",
3
+ "version": "6.37.14",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "electron"