From c60442fa5eb978b54e8d8ed189ad61a9d5468101 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Thu, 15 Sep 2022 22:14:26 +0100 Subject: [PATCH] Fix Nintendo Account authorisation callback handling on Windows --- src/app/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main/index.ts b/src/app/main/index.ts index d6127cf..cc062c0 100644 --- a/src/app/main/index.ts +++ b/src/app/main/index.ts @@ -181,7 +181,7 @@ export async function init() { function tryHandleUrl(app: App, url: string) { debug('Attempting to handle URL', url); - if (url.match(/^npf[0-9a-f]{16}:\/\/auth($|\?|\#)/i)) { + if (url.match(/^npf[0-9a-f]{16}:\/\/auth\/?($|\?|\#)/i)) { handleAuthUri(url); return true; }