@recallai/desktop-sdk 2025.7.1-f42c96a8c0428ca45b6a4ddacdf9fc865cc60acd → 2025.7.2-0a3427bd3482e4da65c1bbb4dc848b321f490114
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/index.js +10 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10,12 +10,15 @@ const { v4: uuidv4 } = require('uuid');
|
|
|
10
10
|
// Search for the unpacked directory first, since fs.existsSync actually reports
|
|
11
11
|
// the "virtual" files in the .asar as being present
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
path.join(__dirname, "
|
|
17
|
-
path.join(__dirname, "
|
|
18
|
-
|
|
13
|
+
let exe_paths = [];
|
|
14
|
+
|
|
15
|
+
if (process.platform == "darwin") {
|
|
16
|
+
exe_paths.push(path.join(__dirname, "desktop_sdk_macos_exe").replace('app.asar', 'app.asar.unpacked'));
|
|
17
|
+
exe_paths.push(path.join(__dirname, "desktop_sdk_macos_exe"));
|
|
18
|
+
} else if (process.platform == "win32") {
|
|
19
|
+
exe_paths.push(path.join(__dirname, "agent-windows.exe").replace('app.asar', 'app.asar.unpacked'));
|
|
20
|
+
exe_paths.push(path.join(__dirname, "agent-windows.exe"));
|
|
21
|
+
}
|
|
19
22
|
|
|
20
23
|
let proc;
|
|
21
24
|
const listeners = [];
|
|
@@ -88,7 +91,7 @@ function startProcess() {
|
|
|
88
91
|
|
|
89
92
|
let envExtra = {};
|
|
90
93
|
|
|
91
|
-
if (process.platform === "win32") {
|
|
94
|
+
if (process.platform === "win32" && process.env.GLOBAL_GST_RECALL !== "1") {
|
|
92
95
|
envExtra["GST_PLUGIN_PATH"] = path.join(path.dirname(exe_path), "gstreamer-1.0");
|
|
93
96
|
}
|
|
94
97
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recallai/desktop-sdk",
|
|
3
|
-
"version": "2025.07.
|
|
3
|
+
"version": "2025.07.02-0a3427bd3482e4da65c1bbb4dc848b321f490114",
|
|
4
4
|
"description": "Recall Desktop SDK (Alpha)",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|