mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-15 19:22:31 +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',
|
||||
autoSetDNS = true,
|
||||
diffWorkDir = false,
|
||||
mihomoCpuPriority = 'PRIORITY_HIGHEST'
|
||||
mihomoCpuPriority = 'PRIORITY_NORMAL'
|
||||
} = await getAppConfig()
|
||||
const { 'log-level': logLevel } = await getControledMihomoConfig()
|
||||
if (existsSync(path.join(dataDir(), 'core.pid'))) {
|
||||
|
|
|
@ -23,7 +23,7 @@ const MihomoConfig: React.FC = () => {
|
|||
pauseSSID = [],
|
||||
delayTestUrl,
|
||||
userAgent,
|
||||
mihomoCpuPriority = 'PRIORITY_HIGHEST',
|
||||
mihomoCpuPriority = 'PRIORITY_NORMAL',
|
||||
proxyCols = 'auto'
|
||||
} = appConfig || {}
|
||||
const [url, setUrl] = useState(delayTestUrl)
|
||||
|
|
Loading…
Reference in New Issue
Block a user