rename GEMINI_DIR to QWEN_DIR

This commit is contained in:
koalazf.99
2025-08-26 20:14:10 +08:00
parent f73d662260
commit 5cd3349773
6 changed files with 14 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
import path from 'node:path';
import { promises as fsp, existsSync, readFileSync } from 'node:fs';
import * as os from 'os';
import { GEMINI_DIR, GOOGLE_ACCOUNTS_FILENAME } from './paths.js';
import { QWEN_DIR, GOOGLE_ACCOUNTS_FILENAME } from './paths.js';
interface UserAccounts {
active: string | null;
@@ -15,7 +15,7 @@ interface UserAccounts {
}
function getGoogleAccountsCachePath(): string {
return path.join(os.homedir(), GEMINI_DIR, GOOGLE_ACCOUNTS_FILENAME);
return path.join(os.homedir(), QWEN_DIR, GOOGLE_ACCOUNTS_FILENAME);
}
async function readAccounts(filePath: string): Promise<UserAccounts> {