Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

fix: hide oauth browser launcher console

rponec078f4e7ed21
diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts
index 953e85d6..a9dafba9 100644
--- a/packages/cli/src/main.ts
+++ b/packages/cli/src/main.ts
@@ -143,7 +143,7 @@ async function hypiHubOAuthLogin(io: CliIo): Promise<string> {
io.write(`Opening HypiHub login: ${authorize}\n`);
const opener = process.platform === "darwin" ? "open" : process.platform === "win32" ? "cmd" : "xdg-open";
const openerArgs = process.platform === "win32" ? ["/c", "start", "", authorize.toString()] : [authorize.toString()];
- spawn(opener, openerArgs, { stdio: "ignore", detached: true }).unref();
+ spawn(opener, openerArgs, { stdio: "ignore", detached: true, windowsHide: true }).unref();
const code = await callback;
const tokenResponse = await fetch("https://hypit.ai/oauth/token", {
method: "POST", headers: { "content-type": "application/x-www-form-urlencoded" },