View Single Post
Old Yesterday, 02:50 PM   #1
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,042
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
[GUI Plugin] calibre Auto-Updater

calibre Auto-Updater is a GUI plugin designed to streamline the update process of calibre directly from the interface. Instead of manually checking the website or opening a separate terminal, this plugin automates the download and launch of the official installer across different operating systems.

Main Features
One-Click Update: Triggers the official update process.

Safety First: Automatically closes calibre before updating to prevent database corruption or file-locking issues.

Multi-platform Support: Intelligent behavior for Linux, Windows, and macOS.

I18n Ready: Prepared for translations (currently English base).

Important: Compatibility & Behavior
This plugin is designed exclusively for standard binary/fixed installations.

Critical Notes:
Linux Users: Upon confirmation, calibre will close immediately and your default terminal will open to run the official script. Asking for your root password. This is required to overwrite system files while they are not in use.

Windows Users: The plugin downloads the official .msi installer to your Desktop and launches it.

Flatpak, AppImage & Portable Versions: These formats are not supported for automatic updates. If you use these, the plugin will notify you that a manual update is required.

How it works on each System
Linux (Standard/Official Install)
A confirmation dialog appears with a compatibility warning.
Upon acceptance, calibre closes and your default terminal opens.
The official calibre installer script is executed via wget.
You will be prompted for your sudo password in the terminal.
Once finished, press Enter to close the terminal.

Windows (Fixed Installation)
The plugin downloads the official 64-bit .msi installer directly to your Desktop.
calibre closes and the .msi installer is launched automatically.
The user follows the standard Windows installation wizard.

MacOS
The official .dmg file is downloaded to a temporary folder.
calibre closes and the disk image is mounted automatically using the open command.
Drag calibre to your Applications folder as usual.

Installation
Download the attached calibre_autoupdater.zip file.
In calibre: Preferences -> Plugins -> Load plugin from file.
Restart calibre. You will see a new "Update calibre" icon in your main toolbar.

Version: 1.0.0
Minimum Version: 8.0.0
Attached Thumbnails
Click image for larger version

Name:	c2.png
Views:	12
Size:	7.3 KB
ID:	221672   Click image for larger version

Name:	1.png
Views:	9
Size:	31.8 KB
ID:	221677  
Attached Files
File Type: zip calibre_update_v1.0.9.zip (12.3 KB, 5 views)

Last edited by dunhill; Yesterday at 04:39 PM.
dunhill is offline   Reply With Quote