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); }
public bool End_CreateNfo() { File.WriteAllText(outputFileWithNewExt(".nfo"), NFO.CreateContents(AppName, tags, encodingInfo, chapters)); return(true); }