From 5eee22292e268b9438fb7e964f8cb1119c209509 Mon Sep 17 00:00:00 2001 From: xmk23333 Date: Thu, 15 Jan 2026 18:24:46 +0800 Subject: [PATCH] fix: sanitize NaN port values when reading config --- src/main/config/controledMihomo.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/config/controledMihomo.ts b/src/main/config/controledMihomo.ts index c31a25e..08d3d18 100644 --- a/src/main/config/controledMihomo.ts +++ b/src/main/config/controledMihomo.ts @@ -33,6 +33,14 @@ export async function getControledMihomoConfig(force = false): Promise