diff --git a/changelog.md b/changelog.md index 7adef5d..559fc09 100644 --- a/changelog.md +++ b/changelog.md @@ -4,10 +4,6 @@ ### New Features -- 内置 SubStore 服务 -- 记住连接排列顺序 -- 调整样式细节 - -### Bug Fixes - -- 修复编辑器主题错误 +- 支持使用自建Sub-Store后端 +- 深度集成Sub-Store +- 优化延迟测试逻辑 diff --git a/package.json b/package.json index 4f22908..31edac4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mihomo-party", - "version": "1.2.6", + "version": "1.2.7", "description": "Mihomo Party", "main": "./out/main/index.js", "author": "mihomo-party", diff --git a/src/main/config/controledMihomo.ts b/src/main/config/controledMihomo.ts index dff9c71..8fc9b3e 100644 --- a/src/main/config/controledMihomo.ts +++ b/src/main/config/controledMihomo.ts @@ -47,7 +47,9 @@ export async function patchControledMihomoConfig(patch: Partial): if (!useNameserverPolicy) { delete controledMihomoConfig?.dns?.['nameserver-policy'] } - + if (process.platform === 'darwin') { + delete controledMihomoConfig?.tun?.device + } if (patch['external-controller'] || patch.secret) { await getAxios(true) } diff --git a/src/renderer/src/pages/substore.tsx b/src/renderer/src/pages/substore.tsx index e89b0f7..1fe6d87 100644 --- a/src/renderer/src/pages/substore.tsx +++ b/src/renderer/src/pages/substore.tsx @@ -32,7 +32,7 @@ const SubStore: React.FC = () => { variant="light" onPress={() => { open( - `https://sub-store.vercel.app/subs?api=${useCustomSubStore ? customSubStoreUrl : `http://127.0.0.1:${port}`}` + `https://sub-store.vercel.app?api=${useCustomSubStore ? customSubStoreUrl : `http://127.0.0.1:${port}`}` ) }} > @@ -42,7 +42,7 @@ const SubStore: React.FC = () => { >