@recallai/desktop-sdk 0.0.0-nightly.20251128T031535-c97b7ed67b3091a1cc9097924f58e75c95be02e3 → 0.0.0-nightly.20251128T032927-23f2cceb09bc6ca8304dbbaa13b8f1d570bc4c0d
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 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -204,6 +204,16 @@ function startProcess() {
|
|
|
204
204
|
if (process.platform === "win32" && process.env.GLOBAL_GST_RECALL !== "1") {
|
|
205
205
|
envExtra["GST_PLUGIN_PATH"] = path.join(path.dirname(exe_path), "gstreamer-1.0");
|
|
206
206
|
}
|
|
207
|
+
if (process.platform === "darwin") {
|
|
208
|
+
try {
|
|
209
|
+
const electron = require('electron');
|
|
210
|
+
envExtra["EXE_NAME"] = electron?.app?.getBundleID?.();
|
|
211
|
+
}
|
|
212
|
+
catch { }
|
|
213
|
+
}
|
|
214
|
+
if (!envExtra["EXE_NAME"]) {
|
|
215
|
+
envExtra["EXE_NAME"] = path.basename(process.execPath);
|
|
216
|
+
}
|
|
207
217
|
const gst_dump_dir = process.env.RECALLAI_DESKTOP_SDK_DEV ? path.join(os.tmpdir(), "gst.nocommit") : os.tmpdir();
|
|
208
218
|
if (!fs.existsSync(gst_dump_dir)) {
|
|
209
219
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recallai/desktop-sdk",
|
|
3
|
-
"version": "0.0.0-nightly.
|
|
3
|
+
"version": "0.0.0-nightly.20251128T032927-23f2cceb09bc6ca8304dbbaa13b8f1d570bc4c0d",
|
|
4
4
|
"description": "Recall Desktop SDK",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"@types/node": "^24.2.0",
|
|
21
21
|
"typescript": "^5.3.3"
|
|
22
22
|
},
|
|
23
|
-
"commit_sha": "
|
|
23
|
+
"commit_sha": "23f2cceb09bc6ca8304dbbaa13b8f1d570bc4c0d"
|
|
24
24
|
}
|