@livedesk/client 0.1.137 → 0.1.139
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/bin/livedesk-client-node.js +4 -1
- package/fast/linux-x64/livedesk-client-fast.dll +0 -0
- package/fast/linux-x64/livedesk-client-fast.pdb +0 -0
- package/fast/osx-arm64/livedesk-client-fast.dll +0 -0
- package/fast/osx-arm64/livedesk-client-fast.pdb +0 -0
- package/fast/osx-x64/livedesk-client-fast.dll +0 -0
- package/fast/osx-x64/livedesk-client-fast.pdb +0 -0
- package/fast/win-x64/livedesk-client-fast.dll +0 -0
- package/fast/win-x64/livedesk-client-fast.pdb +0 -0
- package/package.json +1 -1
|
@@ -1311,7 +1311,10 @@ function remotePolicyAllows(options, command) {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
|
|
1313
1313
|
function scheduleClientUpdate(options, payload = {}) {
|
|
1314
|
-
const
|
|
1314
|
+
const configuredParentPid = Number(process.env.LIVEDESK_CLIENT_PARENT_PID || process.ppid);
|
|
1315
|
+
const parentPid = Number.isInteger(configuredParentPid) && configuredParentPid > 1
|
|
1316
|
+
? configuredParentPid
|
|
1317
|
+
: process.pid;
|
|
1315
1318
|
if (!Number.isInteger(parentPid) || parentPid <= 1) {
|
|
1316
1319
|
return Promise.reject(new Error('LiveDesk client launcher process id is unavailable.'));
|
|
1317
1320
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|