This guide is adapted from this original post by Christopher Charles.
- Clone the MLX Swift Examples GitHub repository:
This guide is adapted from this original post by Christopher Charles.
| #!/bin/bash | |
| # Path to the BKLibrary file | |
| BKLIBRARY_PATH=~/Library/Containers/com.apple.iBooksX/Data/Documents/BKLibrary | |
| # Check if BKLibrary file exists | |
| if [ ! -f "$BKLIBRARY_PATH/BKLibrary-"*".sqlite" ]; then | |
| echo "BKLibrary file not found. Please make sure Books app is installed and has been opened at least once." | |
| exit 1 | |
| fi |