...
In `Parser/EPUB/EPUBParser.swift` return Adobe DRM (added code is bold):
Code Block | ||
---|---|---|
| ||
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? {
...