Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2015, 06:37 PM   #1
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Alternate calibre Auto-update solution for OSX

I know there is a sticky thread with an updater app to update calibre on OSX, which may well be serving people well... but I had a neat approach to managing calibre updates on linux, which I experimentally ported to the OSX build as well. I am curious what people think of it.
Hopefully, someone will think it is useful.

I don't really know how well it will work, since I can't test it without a Mac, but I have high hopes.

The code resides on GitHub.
The following one-liner (pasted into the Terminal) should install the necessary scripts:
Code:
sudo -v && wget -nv -O- https://github.com/eli-schwartz/calibre-installer/raw/master/osx/calibre-installer.sh | sudo sh -
What this does:
  • Installs a script at /usr/bin/calibre-upgrade.sh which can be run to install or upgrade calibre.
    • Checks online first to see if a new version is available.
    • If a new version is available, shutdown running instances of calibre and/or calibre-server.
    • Download and extract calibre.app to the Applications drawer.
    • Make symlinks for the command-line tools in /usr/bin/
  • Installs a launchd service which will run automatically early every Friday morning (6:00 AM) and invoke the upgrade service.


Any suggestions, improvements, fixes, or ludicrous mistakes, feel free to tell me about them. I won't get offended, since I know full well I don't know what I am doing when it comes to Mac.
eschwartz is offline   Reply With Quote
Old 01-23-2016, 09:31 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Slight update.

This seems to be working well enough for at least one person, who has kindly provided one or two slight fixes but other than that it seems to be successful.

eschwartz is offline   Reply With Quote
Old 04-09-2016, 05:11 PM   #3
hhtien1408
Enthusiast
hhtien1408 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Nov 2015
Device: Sony PRS-T2
Thanks a lot for your useful application.


Sent from my iPhone using Tapatalk
hhtien1408 is offline   Reply With Quote
Reply

Tags
autoupdate, calibre, launchd, osx


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 2.15 update won't open on Mac OSX Lion Demingy Devices 2 01-04-2015 08:36 AM
Auto-update Calibre? Geremia Calibre 17 03-14-2014 02:24 AM
Solution: Calibre AutoUpdater [Auto-Updater] megamaniac Calibre 6 08-02-2013 09:47 PM
Auto-update Calibre: How-to using PowerShell FlareHeart Calibre 0 08-08-2012 05:41 PM
Auto update Toxaris Sigil 1 11-17-2010 05:36 AM


All times are GMT -4. The time now is 11:52 AM.


MobileRead.com is a privately owned, operated and funded community.