From d11a2d13726e7e58a7ac7fe3776702de7c6513bc Mon Sep 17 00:00:00 2001 From: Nightkingale <63483138+Nightkingale@users.noreply.github.com> Date: Wed, 22 Jan 2025 20:53:27 -0700 Subject: [PATCH] Adjust backup string search for CDN URL change --- source/backup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/backup.cpp b/source/backup.cpp index 3fed190..efaa486 100644 --- a/source/backup.cpp +++ b/source/backup.cpp @@ -105,11 +105,11 @@ backup_account() } bool network_account_found = false; - if (content.find("account.nintendo.net") != std::string::npos) { + if (content.find("nintendo") != std::string::npos) { // Nintendo Network ID is linked to the account. backup_path = NNID_BACKUP; network_account_found = true; - } else if (content.find("pretendo-cdn.b-cdn.net") != std::string::npos) { + } else if (content.find("pretendo") != std::string::npos) { // Pretendo Network ID is linked to the account. backup_path = PNID_BACKUP; network_account_found = true;