@recallai/desktop-sdk 2025.6.30-9313582e465cb47f53012ba3221c629d14d011fc → 2025.7.1-dd66d575e228824ee796ecec3cbe9b53c68979fa

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.
Files changed (2) hide show
  1. package/index.js +10 -7
  2. 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
- const exe_paths = [
14
- path.join(__dirname, "desktop_sdk_macos_exe").replace('app.asar', 'app.asar.unpacked'),
15
- path.join(__dirname, "desktop_sdk_macos_exe"),
16
- path.join(__dirname, "agent-windows.exe").replace('app.asar', 'app.asar.unpacked'),
17
- path.join(__dirname, "agent-windows.exe")
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.06.30-9313582e465cb47f53012ba3221c629d14d011fc",
3
+ "version": "2025.07.01-dd66d575e228824ee796ecec3cbe9b53c68979fa",
4
4
  "description": "Recall Desktop SDK (Alpha)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",