cherry-studio/src/main/services
beyondkmp 9b321af3da
fix: enhance AppUpdater with IP country detection (#7235)
* fix: downgrade version in package.json and enhance AppUpdater with IP country detection

- Downgraded the application version from 1.4.2 to 1.4.1 in package.json.
- Added a new private method `_getIpCountry` in AppUpdater to fetch the user's IP country with a timeout mechanism.
- Updated the `setAutoUpdate` method to adjust the feed URL based on the detected country, improving update handling for users outside of China.

* fix: adjust timeout duration and enhance IP country logging in AppUpdater

* fix: extend timeout duration in AppUpdater for improved fetch reliability

---------

Co-authored-by: beyondkmp <beyondkmkp@gmail.com>
2025-06-16 19:25:14 +08:00
..
mcp fix: ensure correct PATH assignment in shell environment 2025-05-23 15:25:01 +08:00
urlschema feat: support tokenflux provider (#6358) 2025-05-23 17:10:07 +08:00
AppUpdater.ts fix: enhance AppUpdater with IP country detection (#7235) 2025-06-16 19:25:14 +08:00
AxiosProxy.ts refactor(AxiosProxy): improve proxy handling and initialization logic 2025-04-21 11:26:13 +08:00
BackupManager.ts fix(BackupManager): add content length to WebDAV file upload options (#6977) 2025-06-08 12:36:20 +08:00
CacheService.ts feat: add gemini files support 2025-01-07 16:49:11 +08:00
ConfigManager.ts feat: add set feed url functionality for early access (#5723) 2025-06-06 15:48:54 +08:00
ContextMenu.ts feat: add inspect option to context menu with localization support (#5807) 2025-05-09 22:12:16 +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
FileService.ts refactor: unified image viewer with integrated context menu (#6892) 2025-06-06 18:52:45 +08:00
FileStorage.ts feat: Add PDF file support for OpenAI vision models (#7217) 2025-06-16 11:09:51 +08:00
KnowledgeService.ts fix: ollama embedding knowledge query score always 100% (#7001) 2025-06-09 16:52:01 +08:00
MCPService.ts chore: update release notes and fix various issues 2025-05-26 15:07:53 +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 feat: support tokenflux provider (#6358) 2025-05-23 17:10:07 +08:00
ProxyManager.ts fix: remove undici dependency and clean up ProxyManager code (#6020) 2025-05-15 22:09:53 +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 chore: remove opendal dependency and related code from RemoteStorage service 2025-05-11 19:50:55 +08:00
SearchService.ts fix: remove redundant local variables (#5654) 2025-05-04 19:56:56 +08:00
SelectionService.ts fix(SelectionService): Win10 showing problem & AlwaysOnTop level (#7215) 2025-06-16 09:54:20 +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 refactor: TrayService & ConfigManager (#6526) 2025-05-27 21:11:49 +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 feat: enhance unresponsive renderer handling and crash reporting (#6995) 2025-06-09 19:50:05 +08:00