mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-04-19 13:42:44 +08:00
feat: 重命名项目
This commit is contained in:
@@ -21,7 +21,7 @@ function getDbDir(): string {
|
||||
try {
|
||||
const docPath = app.getPath('documents')
|
||||
console.log('[Database] app.getPath("documents"):', docPath)
|
||||
DB_DIR = path.join(docPath, 'ChatLens', 'databases')
|
||||
DB_DIR = path.join(docPath, 'ChatLab', 'databases')
|
||||
} catch (error) {
|
||||
console.error('[Database] Error getting userData path:', error)
|
||||
DB_DIR = path.join(process.cwd(), 'databases')
|
||||
|
||||
Reference in New Issue
Block a user