Skip to content

v1.1.0 - the window can update itself

Choose a tag to compare

@burnersen burnersen released this 21 Aug 05:53
· 5 commits to main since this release

New: the window can fetch its own updates

Until now, a new version meant going to GitHub, downloading the file and
replacing it yourself. The About page now does it for you.

It only looks when you ask it to. There is no check on startup and no
background call — the window never goes online unless you press the button.

  1. Check for updates asks GitHub whether there is a newer release. If there
    is not, it says so and nothing else happens.
  2. Update to vX.Y.Z and restart appears only when there really is something
    newer. One click downloads it (with the progress shown on the button), puts
    it in place, starts the new version and closes the old window.

There is always a way back. The version you were running is not deleted: it
is kept in the tools folder as NVENCForgeGUI-<version>.exe.bak. Rename it to
NVENCForgeGUI.exe, move it up one folder, and you are running the old version
again. It is never removed on its own, so it stays yours to keep or delete.

Not in the middle of work. While a conversion is running or a folder is being
watched, updating is refused — a restart at that moment would cut the converter
off from its window and leave it running unseen.

If anything goes wrong, nothing is lost. The new file is downloaded next to
the program first and checked against the size GitHub announced; only a complete
file is ever put in place. Should the swap fail halfway, the old program goes
straight back where it was.

Nothing else changed: same converter, same output, same settings.