@mutmutco/hub 4.0.7 → 4.0.9
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/dist/index.cjs +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1083,6 +1083,7 @@ function cursorExecutable(line) {
|
|
|
1083
1083
|
const quoted = /^"([^"]+)"|^'([^']+)'/.exec(trimmed);
|
|
1084
1084
|
const executable = quoted ? quoted[1] ?? quoted[2] : trimmed.split(/\s+/)[0];
|
|
1085
1085
|
const base = executable.split(/[/\\]/).pop() ?? "";
|
|
1086
|
+
if (/[\\/]chrome_crashpad_handler(\.exe)?(["']|\s|$)/i.test(trimmed)) return null;
|
|
1086
1087
|
const host = /^cursor(\.exe)?$/i.test(base) || /[/\\]Cursor\.app[/\\]/i.test(executable);
|
|
1087
1088
|
return host ? executable.slice(0, 160) : null;
|
|
1088
1089
|
}
|
package/package.json
CHANGED