ReverseApple / RemoveBooksDRM

 Books EPUB DRM Removal
GNU Affero General Public License v3.0
75 stars 6 forks source link

Build warnings / Failed to extract itemName | Apple M1 Pro | macOS Sonoma 14.5 #7

Closed chrisdefazio closed 3 months ago

chrisdefazio commented 3 months ago

I get the following warnings when I run build.sh

injected.m:152:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NSLog(baseDirectory); ^~~~~~~~~~~~~ injected.m:152:11: note: treat the string as an argument to avoid this NSLog(baseDirectory); ^ @"%@", injected.m:221:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] }

When I run decrypt.sh I get:

Failed to extract itemName from /Users/XXXXXX/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/XXXXX.epub

Tried on:

AngeloD2022 commented 3 months ago

Hi, this should be fixed in #6. I haven't gotten to reviewing it yet, but feel free to try it.

chrisdefazio commented 3 months ago

That resolved my issue. Thanks!

AngeloD2022 commented 3 months ago

Since it worked for you, I'm going to just merge it.