- 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
17 lines
428 B
TypeScript
17 lines
428 B
TypeScript
|
|
|
|
// 启动本地Chrome
|
|
export function getChromePath () {
|
|
if (process.platform === 'win32') {
|
|
// "C:\Program Files\Google\Chrome\Application\chrome.exe"
|
|
return 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe';
|
|
}
|
|
|
|
if (process.platform === 'darwin') {
|
|
return '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome';
|
|
}
|
|
|
|
if (process.platform === 'linux') {
|
|
return 'google-chrome';
|
|
}
|
|
} |