Example #1
0
 private static void AskTryAgain(InstallMod op, string title, string msg)
 {
     isInstalling = false;
     dlRetry      = true;
     notifier.NotifyTryAgain(title, msg,
                             () => InstallMod(op), //try again
                             () =>                 //cancel
     {
         dlRetry = false;
         log.Info("User don't want to try again");
     },
                             () => //download manually
     {
         dlRetry = false;
         log.Info("Downloading mod manually");
         Process.Start(op.url);
     });
 }