1.2.6
Some checks are pending
Build / windows (arm64) (push) Waiting to run
Build / windows (ia32) (push) Waiting to run
Build / windows (x64) (push) Waiting to run
Build / linux (arm64) (push) Waiting to run
Build / linux (x64) (push) Waiting to run
Build / macos (arm64) (push) Waiting to run
Build / macos (x64) (push) Waiting to run
Build / updater (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-bin) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron-bin) (push) Blocked by required conditions
Build / aur-git-updater (push) Waiting to run

This commit is contained in:
pompurin404 2024-09-04 00:10:30 +08:00
parent 044b676464
commit d2957aebf5
No known key found for this signature in database
5 changed files with 26 additions and 17 deletions

View File

@ -5,3 +5,9 @@
### New Features
- 内置 SubStore 服务
- 记住连接排列顺序
- 调整样式细节
### Bug Fixes
- 修复编辑器主题错误

View File

@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "1.2.5",
"version": "1.2.6",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party",

View File

@ -6,6 +6,9 @@ export const defaultConfig: IAppConfig = {
proxyInTray: true,
maxLogDays: 7,
proxyCols: 'auto',
connectionDirection: 'asc',
connectionOrderBy: 'time',
useSubStore: true,
proxyDisplayMode: 'simple',
proxyDisplayOrder: 'default',
autoCheckUpdate: true,

View File

@ -193,6 +193,21 @@ const Profiles: React.FC = () => {
>
</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>
<DropdownTrigger>
<Button className="ml-2" size="sm" isIconOnly color="primary">
@ -225,21 +240,6 @@ const Profiles: React.FC = () => {
<DropdownItem key="new"></DropdownItem>
</DropdownMenu>
</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>
<Divider />
</div>

View File

@ -219,7 +219,7 @@ interface IAppConfig {
proxyCols: 'auto' | '1' | '2' | '3' | '4'
connectionDirection: 'asc' | 'desc'
connectionOrderBy: 'time' | 'upload' | 'download' | 'uploadSpeed' | 'downloadSpeed'
useSubStore?: boolean
useSubStore: boolean
autoSetDNS?: boolean
originDNS?: string
useWindowFrame: boolean