Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In `Parser/EPUB/EPUBParser.swift` return Adobe DRM (added code is bold):


Code Block
languagejava
 private static func scanForDRM(in container: Container) -> DRM? {  
  /// LCP.
  // Check if a LCP license file is present in the container.
  if ((try? container.data(relativePath: EPUBConstant.lcplFilePath)) != nil) {
     return DRM(brand: .lcp)
   }
   return DRM(brand: .adobe)
   // return nil
  }


    private static func scanForDRM(in container: Container) -> DRM? {

...