cherry-studio/src/main/services
beyondkmp 8cfe6a5848
feat(settings): add option to disable hardware acceleration (#7811)
* feat(settings): add option to disable hardware acceleration

- Introduced a new setting to allow users to disable hardware acceleration.
- Added corresponding IPC channel and configuration management methods.
- Updated UI components to reflect the new setting and prompt for app restart.
- Localized confirmation messages for hardware acceleration changes in multiple languages.

* fix(settings): add delay before relaunching app after disabling hardware acceleration

- Introduced a 500ms delay before the application relaunches to ensure settings are applied correctly.
- This change improves user experience by allowing time for the setting to take effect before the app restarts.

* fix lint

* fix(settings): handle errors when disabling hardware acceleration

- Wrapped the hardware acceleration disabling function in a try-catch block to manage potential errors.
- Added user feedback through an error message if the operation fails, improving overall robustness.
2025-07-04 17:19:22 +08:00
..
mcp fix: ensure correct PATH assignment in shell environment 2025-05-23 15:25:01 +08:00
remotefile feat(knowledge): support doc2x, mistral, MacOS, MinerU... OCR (#3734) 2025-07-03 16:23:02 +08:00
urlschema refactor(ProviderSettings): add provider key by urlScheme (#7529) 2025-07-03 05:10:18 +08:00
AppUpdater.ts feat(AppUpdater): integrate User-Agent generation for autoUpdater req… (#7751) 2025-07-02 16:18:44 +08:00
AxiosProxy.ts refactor(AxiosProxy): improve proxy handling and initialization logic 2025-04-21 11:26:13 +08:00
BackupManager.ts Revert "feat: Add S3 Backup (#6802)" 2025-07-02 13:22:33 +08:00
CacheService.ts feat: add gemini files support 2025-01-07 16:49:11 +08:00
ConfigManager.ts feat(settings): add option to disable hardware acceleration (#7811) 2025-07-04 17:19:22 +08:00
ContextMenu.ts fix: support spell check for mini app (#7602) 2025-06-28 08:36:32 +08:00
CopilotService.ts refactor: replace console.log with Logger for improved logging consistency across the application 2025-05-11 19:25:50 +08:00
ExportService.ts fix: enhance ExportService to support nested bold and italic formatting (#6420) 2025-05-25 21:08:47 +08:00
FileStorage.ts feat(knowledge): support doc2x, mistral, MacOS, MinerU... OCR (#3734) 2025-07-03 16:23:02 +08:00
FileSystemService.ts feat(knowledge): support doc2x, mistral, MacOS, MinerU... OCR (#3734) 2025-07-03 16:23:02 +08:00
KnowledgeService.ts feat(knowledge): support doc2x, mistral, MacOS, MinerU... OCR (#3734) 2025-07-03 16:23:02 +08:00
MCPService.ts chore: update release notes and fix various issues 2025-05-26 15:07:53 +08:00
MistralClientManager.ts feat(knowledge): support doc2x, mistral, MacOS, MinerU... OCR (#3734) 2025-07-03 16:23:02 +08:00
NotificationService.ts chore: remove electron-notification-state dependency and update notification settings 2025-05-21 14:03:24 +08:00
NutstoreService.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
ObsidianVaultService.ts refactor: replace console.log with Logger for improved logging consistency across the application 2025-05-11 19:25:50 +08:00
ProtocolClient.ts refactor(ProviderSettings): add provider key by urlScheme (#7529) 2025-07-03 05:10:18 +08:00
ProxyManager.ts fix: remove undici dependency and clean up ProxyManager code (#6020) 2025-05-15 22:09:53 +08:00
PythonService.ts feat: implement Python MCP server using existing Pyodide infrastructure (#7506) 2025-06-25 18:21:10 +08:00
ReduxService.ts refactor: replace console.log with Logger for improved logging consistency across the application 2025-05-11 19:25:50 +08:00
RemoteStorage.ts Revert "feat: Add S3 Backup (#6802)" 2025-07-02 13:22:33 +08:00
SearchService.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
SelectionService.ts feat: SelectionAssistant macOS version / 划词助手macOS版 (#7561) 2025-07-03 14:31:31 +08:00
ShortcutService.ts feat(SelectionAssistant): add shortcut for selecting text (#7073) 2025-06-11 17:39:12 +08:00
StoreSyncService.ts feat(SelectionAssistant): shortcut key to toggle on/off (#6983) 2025-06-11 13:32:49 +08:00
ThemeService.ts refactor: Theme improve (#6619) 2025-05-30 15:10:58 +08:00
TrayService.ts feat: SelectionAssistant macOS version / 划词助手macOS版 (#7561) 2025-07-03 14:31:31 +08:00
VertexAIService.ts Feat/vertex ai support (#6416) 2025-06-16 21:46:27 +08:00
WebDav.ts feat(restoreFromWebdav): make credentials and path optional (#6922) 2025-06-07 21:25:08 +08:00
WebviewService.ts fix(WebviewService): simplify user agent string modification by removing Chrome version replacement 2025-05-13 16:47:18 +08:00
WindowService.ts Revert "fix(WindowService): remove backgroundThrottling option for cleaner window configuration (#7704)" 2025-07-02 10:04:14 +08:00