Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calibre Update Script

Calibre Update Script is a Windows utility for checking an installed Calibre version against the latest release published by Calibre and updating it when a newer version is available.

The main script, update_calibre.py, can inspect a standard MSI installation from the Windows registry or use a supplied Calibre location. It downloads the current installer from calibre-ebook.com and shuts down a running Calibre instance before updating.

Requirements

  • Windows
  • Python 3
  • Administrator privileges for installation updates
  • Calibre installed normally, or a Calibre Portable folder or executable path

Setup

python -m venv .venv
source .venv/bin/activate
pip install -e .

Usage

Run the updater for a standard installed Calibre copy:

python update_calibre.py

Run the updater against the path you installed Calibre to, a Calibre Portable folder, or an executable path:

python update_calibre.py --path "C:\DATA\Applications\Calibre Portable"
python update_calibre.py --path "C:\DATA\Applications\Calibre Portable\Calibre\calibre.exe"

Restart Calibre after a successful update when it was running before:

python update_calibre.py --restart

The script requests elevation when it is not already running as administrator. MSI installation logs are written to a named temporary log file when the Windows installer reports an error.

About

Windows utility for checking, downloading, and installing Calibre updates, including Calibre Portable support.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages