mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-28 05:30:29 +08:00
1.2.6
This commit is contained in:
parent
044b676464
commit
d2957aebf5
@ -5,3 +5,9 @@
|
|||||||
### New Features
|
### New Features
|
||||||
|
|
||||||
- 内置 SubStore 服务
|
- 内置 SubStore 服务
|
||||||
|
- 记住连接排列顺序
|
||||||
|
- 调整样式细节
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- 修复编辑器主题错误
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mihomo-party",
|
"name": "mihomo-party",
|
||||||
"version": "1.2.5",
|
"version": "1.2.6",
|
||||||
"description": "Mihomo Party",
|
"description": "Mihomo Party",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
"author": "mihomo-party",
|
"author": "mihomo-party",
|
||||||
|
|||||||
@ -6,6 +6,9 @@ export const defaultConfig: IAppConfig = {
|
|||||||
proxyInTray: true,
|
proxyInTray: true,
|
||||||
maxLogDays: 7,
|
maxLogDays: 7,
|
||||||
proxyCols: 'auto',
|
proxyCols: 'auto',
|
||||||
|
connectionDirection: 'asc',
|
||||||
|
connectionOrderBy: 'time',
|
||||||
|
useSubStore: true,
|
||||||
proxyDisplayMode: 'simple',
|
proxyDisplayMode: 'simple',
|
||||||
proxyDisplayOrder: 'default',
|
proxyDisplayOrder: 'default',
|
||||||
autoCheckUpdate: true,
|
autoCheckUpdate: true,
|
||||||
|
|||||||
@ -193,6 +193,21 @@ const Profiles: React.FC = () => {
|
|||||||
>
|
>
|
||||||
导入
|
导入
|
||||||
</Button>
|
</Button>
|
||||||
|
{useSubStore && (
|
||||||
|
<Button
|
||||||
|
title="SubStore"
|
||||||
|
onPress={async () => {
|
||||||
|
const port = await subStorePort()
|
||||||
|
open(`https://sub-store.vercel.app/subs?api=http://127.0.0.1:${port}`)
|
||||||
|
}}
|
||||||
|
className="ml-2"
|
||||||
|
size="sm"
|
||||||
|
isIconOnly
|
||||||
|
color="primary"
|
||||||
|
>
|
||||||
|
<SubStoreIcon />
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
<Dropdown>
|
<Dropdown>
|
||||||
<DropdownTrigger>
|
<DropdownTrigger>
|
||||||
<Button className="ml-2" size="sm" isIconOnly color="primary">
|
<Button className="ml-2" size="sm" isIconOnly color="primary">
|
||||||
@ -225,21 +240,6 @@ const Profiles: React.FC = () => {
|
|||||||
<DropdownItem key="new">新建</DropdownItem>
|
<DropdownItem key="new">新建</DropdownItem>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
{useSubStore && (
|
|
||||||
<Button
|
|
||||||
title="SubStore"
|
|
||||||
onPress={async () => {
|
|
||||||
const port = await subStorePort()
|
|
||||||
open(`https://sub-store.vercel.app/subs?api=http://127.0.0.1:${port}`)
|
|
||||||
}}
|
|
||||||
className="ml-2"
|
|
||||||
size="sm"
|
|
||||||
isIconOnly
|
|
||||||
color="primary"
|
|
||||||
>
|
|
||||||
<SubStoreIcon />
|
|
||||||
</Button>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<Divider />
|
<Divider />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
2
src/shared/types.d.ts
vendored
2
src/shared/types.d.ts
vendored
@ -219,7 +219,7 @@ interface IAppConfig {
|
|||||||
proxyCols: 'auto' | '1' | '2' | '3' | '4'
|
proxyCols: 'auto' | '1' | '2' | '3' | '4'
|
||||||
connectionDirection: 'asc' | 'desc'
|
connectionDirection: 'asc' | 'desc'
|
||||||
connectionOrderBy: 'time' | 'upload' | 'download' | 'uploadSpeed' | 'downloadSpeed'
|
connectionOrderBy: 'time' | 'upload' | 'download' | 'uploadSpeed' | 'downloadSpeed'
|
||||||
useSubStore?: boolean
|
useSubStore: boolean
|
||||||
autoSetDNS?: boolean
|
autoSetDNS?: boolean
|
||||||
originDNS?: string
|
originDNS?: string
|
||||||
useWindowFrame: boolean
|
useWindowFrame: boolean
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user