Skip to content

Commit

Permalink
Cleaned up code for downloading account linker for Food Channel Domino's
Browse files Browse the repository at this point in the history
  • Loading branch information
PablosCorner committed Dec 22, 2024
1 parent fd95efa commit dc55824
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions WiiLink-Patcher-CLI/WiiLink_Patcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2138,22 +2138,19 @@ static void DownloadAllPatches()
{
case DemaeVersion.Standard:
if (lang == Language.English)
DownloadPatch("Demae", $"Demae_0_{lang}.delta", $"Demae_0_{lang}.delta", "Demae Channel (Standard)");
DownloadPatch("Demae", $"Demae_1_{lang}.delta", $"Demae_1_{lang}.delta", "Demae Channel (Standard)");
DownloadPatch("Demae", $"Demae_0_{lang}.delta", $"Demae_0_{lang}.delta", "Food Channel (Standard)");
DownloadPatch("Demae", $"Demae_1_{lang}.delta", $"Demae_1_{lang}.delta", "Food Channel (Standard)");
if (lang == Language.English)
DownloadPatch("Demae", $"Demae_2_{lang}.delta", $"Demae_2_{lang}.delta", "Demae Channel (Standard)");
DownloadPatch("Demae", $"Demae_2_{lang}.delta", $"Demae_2_{lang}.delta", "Food Channel (Standard)");
break;
case DemaeVersion.Dominos:
DownloadPatch("Dominos", $"Dominos_0.delta", "Dominos_0.delta", "Demae Channel (Dominos)");
DownloadPatch("Dominos", $"Dominos_1.delta", "Dominos_1.delta", "Demae Channel (Dominos)");
DownloadPatch("Dominos", $"Dominos_2.delta", "Dominos_2.delta", "Demae Channel (Dominos)");
DownloadPatch("Dominos", $"Dominos_0.delta", "Dominos_0.delta", "Food Channel (Dominos)");
DownloadPatch("Dominos", $"Dominos_1.delta", "Dominos_1.delta", "Food Channel (Dominos)");
DownloadPatch("Dominos", $"Dominos_2.delta", "Dominos_2.delta", "Food Channel (Dominos)");
DownloadOSCApp("WiiLink_Account_Linker");
break;
}

// Downloading Get Console ID (for Demae Domino's) from OSC
if (demaeVersion == DemaeVersion.Dominos)
DownloadOSCApp("WiiLink_Account_Linker");

// Kirby TV Channel (only if user chose to install it)
DownloadPatch("ktv", $"ktv_2.delta", "KirbyTV_2.delta", "Kirby TV Channel");
}
Expand Down

0 comments on commit dc55824

Please sign in to comment.