@lvce-editor/main-process 6.10.1 → 6.11.1
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/mainProcessMain.js +5 -0
- package/package.json +1 -1
package/dist/mainProcessMain.js
CHANGED
|
@@ -6453,6 +6453,10 @@ const create$1 = async ({
|
|
|
6453
6453
|
return ipc;
|
|
6454
6454
|
};
|
|
6455
6455
|
|
|
6456
|
+
const getMainProcessId = () => {
|
|
6457
|
+
return process.pid;
|
|
6458
|
+
};
|
|
6459
|
+
|
|
6456
6460
|
const {
|
|
6457
6461
|
create
|
|
6458
6462
|
} = IpcParentWithElectronUtilityProcess$1$1;
|
|
@@ -6617,6 +6621,7 @@ const commandMap = {
|
|
|
6617
6621
|
'Process.getV8Version': getV8Version,
|
|
6618
6622
|
'Process.writeStderr': writeStderr,
|
|
6619
6623
|
'Process.writeStdout': writeStdout,
|
|
6624
|
+
'ProcessId.getMainProcessId': getMainProcessId,
|
|
6620
6625
|
'TemporaryMessagePort.createPortTuple': createPortTuple,
|
|
6621
6626
|
'TemporaryMessagePort.dispose': dispose,
|
|
6622
6627
|
'TemporaryMessagePort.sendTo': sendTo,
|