@recallai/desktop-sdk 2025.6.6-70e605218517ec83cfe53e33be1377828debb952 → 2025.6.7-223210e6830189fe8fb8be1448967f8e1a197238

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.
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "2025.06.06-70e605218517ec83cfe53e33be1377828debb952",
3
+ "version": "2025.06.07-223210e6830189fe8fb8be1448967f8e1a197238",
4
4
  "description": "Recall Desktop SDK (Alpha)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/setup.js CHANGED
@@ -6,13 +6,21 @@ async function setupMacOS() {
6
6
  const frameworksDir = path.join(__dirname, "Frameworks");
7
7
  const tarPath = path.join(__dirname, "desktop_sdk_macos_frameworks.tar");
8
8
 
9
- if (!fs.existsSync(frameworksDir)) {
10
- fs.mkdirSync(frameworksDir);
11
- }
9
+ const frameworksExists = fs.existsSync(frameworksDir);
12
10
 
13
11
  if (!fs.existsSync(tarPath)) {
14
- console.error("Missing framework tar file");
15
- process.exit(1);
12
+ // Framework was already installed properly, no updated tar package exists.
13
+ // Some users are reporting this command running twice, so use this as a gate.
14
+ if (frameworksExists) {
15
+ return;
16
+ } else {
17
+ console.error("Missing framework tar file");
18
+ process.exit(1);
19
+ }
20
+ }
21
+
22
+ if (!frameworksExists) {
23
+ fs.mkdirSync(frameworksDir);
16
24
  }
17
25
 
18
26
  try {