chore: restructure project and add i18n support
- Reorganize project structure with new electron and shared directories - Add comprehensive i18n support with Chinese, English, and Japanese locales - Update build configurations and TypeScript paths for new structure - Add various UI components including chat interface and task management - Include Windows release binaries and localization files - Update dependencies and fix import paths throughout the codebase
This commit is contained in:
7
electron/utils/chrome/getProfileDir.ts
Normal file
7
electron/utils/chrome/getProfileDir.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import path from "node:path";
|
||||
import { app } from 'electron';
|
||||
|
||||
// 多账号隔离
|
||||
export function getProfileDir (accountId: string) {
|
||||
return path.join(app.getPath('userData'), `profiles`, accountId);
|
||||
}
|
||||
Reference in New Issue
Block a user