feat: verify Google OAuth code automatically after receipt

This commit is contained in:
Draculabo committed 2026-01-21 00:37:42 +08:00
1 parent 465eb5d0a4
commit e927ac9506
3 files changed
+38 -30

No files matched your search

-2
View File
@@ -32,8 +32,6 @@ export async function isProcessRunning(): Promise<boolean> {
// Increased timeout to 4000ms to avoid flakiness with tasklist/wmic
try {
const { stdout } = await execAsync(command, { timeout: 4000 });
logger.debug(`Process check stdout: ${stdout.trim()}`);
if (platform === 'win32' || isWsl()) {
return stdout.includes('Antigravity.exe');
} else {