From 5f1c5fa370467b2f853df66a015ec904ad002397 Mon Sep 17 00:00:00 2001 From: Lumap Date: Thu, 12 Dec 2024 23:40:44 +0100 Subject: [PATCH] AppleMusicRichPresence: Fix token fetching Regex (#3071) --- src/plugins/appleMusic.desktop/native.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/appleMusic.desktop/native.ts b/src/plugins/appleMusic.desktop/native.ts index 7d69a85a..5a547997 100644 --- a/src/plugins/appleMusic.desktop/native.ts +++ b/src/plugins/appleMusic.desktop/native.ts @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +import { canonicalizeMatch } from "@utils/patches"; import { execFile } from "child_process"; import { promisify } from "util"; @@ -26,7 +27,7 @@ interface RemoteData { let cachedRemoteData: { id: string, data: RemoteData; } | { id: string, failures: number; } | null = null; const APPLE_MUSIC_BUNDLE_REGEX = /