Skip to content

Commit

Permalink
Adjust backup string search for CDN URL change
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightkingale committed Jan 23, 2025
1 parent d58a198 commit d11a2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/backup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d11a2d1

Please sign in to comment.