@recallai/desktop-sdk 2025.7.1-dd66d575e228824ee796ecec3cbe9b53c68979fa → 2025.7.1-f42c96a8c0428ca45b6a4ddacdf9fc865cc60acd

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 +7 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -10,15 +10,12 @@ 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
- 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
- }
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
+ ];
22
19
 
23
20
  let proc;
24
21
  const listeners = [];
@@ -91,7 +88,7 @@ function startProcess() {
91
88
 
92
89
  let envExtra = {};
93
90
 
94
- if (process.platform === "win32" && process.env.GLOBAL_GST_RECALL !== "1") {
91
+ if (process.platform === "win32") {
95
92
  envExtra["GST_PLUGIN_PATH"] = path.join(path.dirname(exe_path), "gstreamer-1.0");
96
93
  }
97
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "2025.07.01-dd66d575e228824ee796ecec3cbe9b53c68979fa",
3
+ "version": "2025.07.01-f42c96a8c0428ca45b6a4ddacdf9fc865cc60acd",
4
4
  "description": "Recall Desktop SDK (Alpha)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",