High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix(cli): use the platform-aware install hint in the CLI preflight too
Darshan Jainec30f23a3181
diff --git a/cmd/pinchtab/cmd_cli_runtime.go b/cmd/pinchtab/cmd_cli_runtime.goindex 7ae1f8a8..5d241555 100644--- a/cmd/pinchtab/cmd_cli_runtime.go+++ b/cmd/pinchtab/cmd_cli_runtime.go@@ -6,6 +6,7 @@ import ("net/http""net/url""os"+ "runtime""strings""time"@@ -96,9 +97,9 @@ func preflightBrowserBinary(cfg *config.RuntimeConfig) error {}if effective.Binary == "" {return fmt.Errorf("no %s browser found on this machine.\n"+- " Install one (e.g. Google Chrome for Testing, or `apt-get install -y chromium` "+- "on Debian/Ubuntu) or set a browser binary in your config.\n"+- " Run `pinchtab doctor` for the full diagnosis", browserID)+ " Install one (%s) or set a browser binary in your config.\n"++ " Run `pinchtab doctor` for the full diagnosis",+ browserID, browsers.InstallHint(runtime.GOOS))}return nil}