View Single Post
Old 07-13-2024, 10:01 AM   #1
axlrod
Junior Member
axlrod began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2011
Location: The Shire
Device: iPad
Library Location Configs Mac

I am developing a bash script for Mac that will allow me to wrap and run a portable version of Calibre on a Mac.

One of the recurring issues I encounter is when the script is used on a new machine. In such cases, it fails to recognize/Volumes/CaliberPortable/Library as the library location, as it has been mounted as "/Volumes/Calibre 1." This necessitates a manual search for the library.

I don't think there is any way to use relative paths; or is there? That would be the ideal solution!

If not, assuming I tracked down all the JSON files and tweaked those usng my wrapper script before Calibre launches, would that be a safe way to change it with the script? Is there a better way?

Also, to update the quick switch menu to additional Libraries, can I just adjust the history.plist file?
axlrod is offline   Reply With Quote