sd setup now being copy to sd in some cases

This commit is contained in:
NicoAICP 2020-06-13 22:16:15 +02:00
parent b607b9241e
commit 4afd60c5f6
3 changed files with 13 additions and 2 deletions

View file

@ -879,11 +879,17 @@ namespace UWUVCI_AIO_WPF
Progress = 0;
string extra = "";
string names = "Copy to SD";
if (GameConfiguration.Console == GameConsoles.WII) extra = "\n Some games cannot reboot into the WiiU Menu. Shut down via the GamePad. \n If Stuck in a BlackScreen, you need to unplug your WiiU.";
if (GameConfiguration.Console == GameConsoles.WII && romPath.ToLower().Contains(".wad")) extra += "\n Make sure that the chosen WAD is installed in your vWii!";
if (GC) extra = "\n Make sure to have Nintendon't + config on your SD.\n You can add them by pressing the \"SD Setup\" button or using the \"Start Nintendont Config Tool\" button under Settings. ";
if (GC)
{
extra = "\n Make sure to have Nintendon't + config on your SD.\n You can add them by pressing the \"SD Setup\" button or using the \"Start Nintendont Config Tool\" button under Settings. ";
names = "SD Setup";
}
gc2rom = "";
Custom_Message cm = new Custom_Message("Injection Complete", $" It's recommended to install onto USB to avoid brick risks.{extra}\n To Open the Location of the Inject press Open Folder.\n If you want the inject to be put on your SD now, press SD Setup. ", Settings.Default.OutPath); try
Custom_Message cm = new Custom_Message("Injection Complete", $" It's recommended to install onto USB to avoid brick risks.{extra}\n To Open the Location of the Inject press Open Folder.\n If you want the inject to be put on your SD now, press {names}. ", Settings.Default.OutPath); try
{
cm.Owner = mw;
}

View file

@ -107,6 +107,10 @@ namespace UWUVCI_AIO_WPF.UI.Windows
}
if (message.Contains("If you want the inject to be put on your SD now"))
{
if(message.Contains("Copy to SD"))
{
nc.Content = "Copy to SD";
}
nc.Visibility = Visibility.Visible;
}
dont.Visibility = Visibility.Hidden;

View file

@ -59,6 +59,7 @@ namespace UWUVCI_AIO_WPF.UI.Windows
if (!gamecube)
{
setup.Content = "Copy to SD";
tbTitleBar.Text = "Copy to SD";
}
Task.Run(() => checkfornewinput());