Exemplo n.º 1
0
 public bool Step4_CreateNfo()
 {
     // not a critical step. its failure should not prevent future steps from running
     try
     {
         File.WriteAllText(PathLib.ReplaceExtension(OutputFileName, ".nfo"), NFO.CreateContents(AppName, aaxFile, downloadLicense.ChapterInfo));
     }
     catch (Exception ex)
     {
         Serilog.Log.Logger.Error(ex, $"{nameof(Step4_CreateNfo)}. FAILED");
     }
     return(!isCanceled);
 }
Exemplo n.º 2
0
 public bool End_CreateNfo()
 {
     File.WriteAllText(outputFileWithNewExt(".nfo"), NFO.CreateContents(AppName, tags, encodingInfo, chapters));
     return(true);
 }