mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 21:20:29 +08:00
change default priority
This commit is contained in:
parent
75e754f03b
commit
fddb641945
@ -62,7 +62,7 @@ export async function startCore(detached = false): Promise<Promise<void>[]> {
|
|||||||
core = 'mihomo',
|
core = 'mihomo',
|
||||||
autoSetDNS = true,
|
autoSetDNS = true,
|
||||||
diffWorkDir = false,
|
diffWorkDir = false,
|
||||||
mihomoCpuPriority = 'PRIORITY_HIGHEST'
|
mihomoCpuPriority = 'PRIORITY_NORMAL'
|
||||||
} = await getAppConfig()
|
} = await getAppConfig()
|
||||||
const { 'log-level': logLevel } = await getControledMihomoConfig()
|
const { 'log-level': logLevel } = await getControledMihomoConfig()
|
||||||
if (existsSync(path.join(dataDir(), 'core.pid'))) {
|
if (existsSync(path.join(dataDir(), 'core.pid'))) {
|
||||||
|
|||||||
@ -23,7 +23,7 @@ const MihomoConfig: React.FC = () => {
|
|||||||
pauseSSID = [],
|
pauseSSID = [],
|
||||||
delayTestUrl,
|
delayTestUrl,
|
||||||
userAgent,
|
userAgent,
|
||||||
mihomoCpuPriority = 'PRIORITY_HIGHEST',
|
mihomoCpuPriority = 'PRIORITY_NORMAL',
|
||||||
proxyCols = 'auto'
|
proxyCols = 'auto'
|
||||||
} = appConfig || {}
|
} = appConfig || {}
|
||||||
const [url, setUrl] = useState(delayTestUrl)
|
const [url, setUrl] = useState(delayTestUrl)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user