tesseract-agent 0.7.1 → 0.7.2
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-bundle/cli.js +5 -3
- package/package.json +1 -1
package/dist-bundle/cli.js
CHANGED
|
@@ -22961,9 +22961,11 @@ function resolveClaudeCodeExecutable() {
|
|
|
22961
22961
|
const resourcesPath = process.resourcesPath;
|
|
22962
22962
|
if (resourcesPath) {
|
|
22963
22963
|
const platKey = process.platform === "darwin" ? "mac" : process.platform === "win32" ? "win" : "linux";
|
|
22964
|
-
const
|
|
22965
|
-
|
|
22966
|
-
|
|
22964
|
+
for (const dir2 of [`${platKey}-${process.arch}`, platKey]) {
|
|
22965
|
+
const bundled = join9(resourcesPath, "claude-cli", dir2, binName);
|
|
22966
|
+
if (existsSync2(bundled))
|
|
22967
|
+
return cachedClaudeExe = bundled;
|
|
22968
|
+
}
|
|
22967
22969
|
}
|
|
22968
22970
|
const require2 = createRequire(import.meta.url);
|
|
22969
22971
|
const keys = process.platform === "linux" ? [`linux-${process.arch}`, `linux-${process.arch}-musl`] : [`${process.platform}-${process.arch}`];
|