cherry-studio/src/main
自由的世界人 24f7bac3ea
refactor: custom mini app loading logic (#8181)
* refactor: custom mini app loading logic

Replaces try-catch with an explicit file existence check before reading 'custom-minapps.json'. Ensures the file is created with an empty array if it does not exist, improving clarity and error handling.

* refactor: custom mini app loading logic

Simplifies the loading of custom mini apps by removing the explicit file existence check and handling the read failure case directly. If reading the file fails, an empty array is written and returned.

* fix: improve error handling in file reading for custom mini apps
2025-07-16 15:36:20 +08:00
..
configs feat: SelectionAssistant macOS version / 划词助手macOS版 (#7561) 2025-07-03 14:31:31 +08:00
integration/nutstore/sso/lib build: remove sentry integration 2025-04-24 11:48:53 +08:00
knowledage [1.5.0-rc] Feat/memory (#7689) 2025-07-15 10:24:41 +08:00
knowledge [1.5.0-rc] Feat/memory (#7689) 2025-07-15 10:24:41 +08:00
mcpServers feat: implement Python MCP server using existing Pyodide infrastructure (#7506) 2025-06-25 18:21:10 +08:00
services refactor: custom mini app loading logic (#8181) 2025-07-16 15:36:20 +08:00
utils [1.5.0-rc] feat(MCP): Add DXT format support for MCP server installation (#7618) 2025-07-14 22:37:56 +08:00
bootstrap.ts feat: Implement occupied directories handling during data copy (#7485) 2025-06-25 00:39:28 +08:00
config.ts feat: Add app data path selection and relaunch functionality (#6096) 2025-06-18 17:39:26 +08:00
constant.ts feat: support portable config dir (#5039) 2025-04-24 17:23:56 +08:00
electron.d.ts feat: add the ability to display the application in tray #297 2024-11-09 08:42:09 +08:00
env.d.ts feat: added vite_main_bundle_id config and improved code cleanliness 2024-09-15 10:35:02 +08:00
index.ts fix: [Linux] support Linux Wayland global shortcuts (#8080) 2025-07-13 00:30:01 +08:00
ipc.ts [1.5.0-rc] Feat/memory (#7689) 2025-07-15 10:24:41 +08:00