This commit is contained in:
pompurin404 2024-09-04 19:59:11 +08:00
parent 6be794efe9
commit 72faa1e5c2
No known key found for this signature in database
5 changed files with 22 additions and 21 deletions

View File

@ -4,10 +4,6 @@
### New Features
- 内置 SubStore 服务
- 记住连接排列顺序
- 调整样式细节
### Bug Fixes
- 修复编辑器主题错误
- 支持使用自建Sub-Store后端
- 深度集成Sub-Store
- 优化延迟测试逻辑

View File

@ -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",

View File

@ -47,7 +47,9 @@ export async function patchControledMihomoConfig(patch: Partial<IMihomoConfig>):
if (!useNameserverPolicy) {
delete controledMihomoConfig?.dns?.['nameserver-policy']
}
if (process.platform === 'darwin') {
delete controledMihomoConfig?.tun?.device
}
if (patch['external-controller'] || patch.secret) {
await getAxios(true)
}

View File

@ -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 = () => {
>
<iframe
className="w-full h-full"
src={`https://sub-store.vercel.app/subs?api=${useCustomSubStore ? customSubStoreUrl : `http://127.0.0.1:${port}`}`}
src={`https://sub-store.vercel.app?api=${useCustomSubStore ? customSubStoreUrl : `http://127.0.0.1:${port}`}`}
/>
</BasePage>
</>

View File

@ -164,6 +164,7 @@ const Tun: React.FC = () => {
<Tab key="system" title="系统" />
</Tabs>
</SettingItem>
{platform !== 'darwin' && (
<SettingItem title="Tun 网卡名称" divider>
<Input
size="sm"
@ -174,6 +175,8 @@ const Tun: React.FC = () => {
}}
/>
</SettingItem>
)}
<SettingItem title="严格路由" divider>
<Switch
size="sm"