diff --git a/src/main/core/manager.ts b/src/main/core/manager.ts index 103862f..fb3db58 100644 --- a/src/main/core/manager.ts +++ b/src/main/core/manager.ts @@ -62,7 +62,7 @@ export async function startCore(detached = false): Promise[]> { 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'))) { diff --git a/src/renderer/src/components/settings/mihomo-config.tsx b/src/renderer/src/components/settings/mihomo-config.tsx index 7cfda65..bdcc815 100644 --- a/src/renderer/src/components/settings/mihomo-config.tsx +++ b/src/renderer/src/components/settings/mihomo-config.tsx @@ -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)