diff --git a/src/main/index.ts b/src/main/index.ts index 0f9361f..7387160 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -79,6 +79,7 @@ app.whenReady().then(async () => { }) async function handleDeepLink(url: string): Promise { + if (!url.startsWith('clash://') && !url.startsWith('mihomo://')) return try { if (url.startsWith('clash://install-config')) { url = url