|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 Last edited by dunhill; Yesterday at 04:39 PM. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,042
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Reserved
|
|
|
|
|
|
#3 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82,323
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can you make it show that what's new that you can get from the official website?
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,042
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
"I understand! However, the philosophy of this plugin is to keep it as lightweight and 'one-click' as possible. Fetching and formatting the 'What's New' data from the website adds a layer of complexity that goes beyond the current scope. I'll consider adding a direct link to the official changelog in the confirmation dialog for the next version."
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,042
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Does that sound good to you, JSWolf?
|
|
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82,323
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can you make it so we get to see what's new without having to go to the website?
|
|
|
|
|
|
#7 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,245
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Tested on Linux Mint 22.3 - Cinnamon--works.
bernie Quote:
|
|
|
|
|
|
|
#8 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,042
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
However, implementing a built-in 'What's New' viewer brings two significant challenges: Stability: It would require 'web scraping' the official site. If the website layout changes even slightly, the plugin would break, requiring constant maintenance for a secondary feature. Localization: calibre's changelog is only published in English. To show it to all users, I would need to integrate a third-party translation engine, which adds a lot of complexity and potential privacy/connectivity issues to what is meant to be a lightweight 'action' tool. To keep the plugin fast, stable, and simple, I've included a direct link to the official 'What's New' page in the confirmation dialog. Most modern browsers will offer to translate that page automatically into your preferred language with one click. I hope you understand the choice to keep the plugin focused on its main task: updating calibre reliably! Furthermore, I believe it's important to respect the official website's traffic. By visiting the 'What's New' page directly, users stay connected with the official project, supporting the author's site statistics and visibility. Last edited by dunhill; Yesterday at 07:05 PM. |
|
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,042
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
|
|
|
|
|
|
#10 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,471
Karma: 31000706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@dunhill - FTR: no need to screen scrape, it's in Changelog.txt at github.
That said, if someone can't be bothered to look at the What's new in their browser (and use its translate feature) they're are unlikely to read its content no matter how its presented. BR |
|
|
|
|
|
#11 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,042
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
However, I agree with your second point: if someone isn't willing to click a link to stay informed, they probably won't read the content regardless of the format. For now, I'll stick with the link to the official site to keep the plugin's 'action-oriented' philosophy and support the official project's visibility. Cheers! |
|
|
|
|
|
|
#12 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,471
Karma: 31000706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Ditto Sigil… installed 2.75 on the Arch system early this morning… it's being used as we speak. Its about the same distance from me as it is from the Starlink satellites it uses :lol: BR |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Auto Datestamp and View | eater | Plugins | 3 | 04-08-2020 06:08 PM |
| Calibre needs an Auto-Updater | smartguy | Calibre | 30 | 01-23-2020 02:24 PM |
| Problem with my ScrambleEbook plugin and the Plugin Updater tool | jackie_w | Development | 14 | 01-19-2017 10:49 PM |
| Solution: Calibre AutoUpdater [Auto-Updater] | megamaniac | Calibre | 6 | 08-02-2013 09:47 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |