sillsdev / ptx2pdf

XeTeX based macro package for typesetting USFM formatted (Paratext output) scripture files
21 stars 7 forks source link

Check for updates needs to run as a background thread #943

Open markpenny opened 5 months ago

markpenny commented 5 months ago

There are a few improvements that we could/should make to the "check for updates" code.

  1. If it was to run in its own separate thread, then we wouldn't need the complex code that we currently have to WAIT a few minutes until it goes off and checks for an update; (and then blocks the rest of the program working if there's a slow internet connection)
  2. If we can't easily thread it, then we could at least store the current available version in the user config setting, and thus be able to flag that a new version is available without having to wait a specified amount of time
  3. Should we offer auto-updating (i.e. download and then perform a silent install, with a brief restart of PTXprint)? I know that inno-setup allows this as a command line option to the installer.