Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: postinstall.js missing getBinDir() function

Mario8a0ad9234005
diff --git a/npm/package.json b/npm/package.json
index 447ebaf0..9900500c 100644
--- a/npm/package.json
+++ b/npm/package.json
@@ -1,6 +1,6 @@
{
"name": "pinchtab",
- "version": "0.7.2",
+ "version": "0.7.3",
"description": "Browser control API for AI agents",
"main": "dist/index.js",
"types": "dist/index.d.ts",
diff --git a/npm/scripts/postinstall.js b/npm/scripts/postinstall.js
index f7ddf595..36bafc48 100644
--- a/npm/scripts/postinstall.js
+++ b/npm/scripts/postinstall.js
@@ -51,6 +51,10 @@ function getBinaryPath(binaryName) {
return path.join(os.homedir(), '.pinchtab', 'bin', binaryName);
}
+function getBinDir() {
+ return path.join(os.homedir(), '.pinchtab', 'bin');
+}
+
function fetchUrl(url) {
return new Promise((resolve, reject) => {
const httpsOptions = new URL(url);