Add self-update, release 1.0.2
nscan update installs the newest release from git.micw.org, nscan update -c only checks; --update and --check-update work as well. The download lands next to the running binary, is started once with --version and only then replaces it. Once a day an ordinary run asks in the background and mentions a newer release in the title bar and on stderr, only on a terminal and not with NSCAN_NO_UPDATE_CHECK set. selfupdate.go is goca's copyable template. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
60257239d7
commit
c91dbe9f7d
11 files changed
+761
-16
No files matched your search
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.2 – 2026-10-26
|
||||
|
||||
- Self-update: `nscan update` installs the newest release, `nscan update -c` only
|
||||
checks (also `--update` and `--check-update`). Once a day nscan checks in the
|
||||
background and mentions a newer release in the title bar and on stderr; set
|
||||
`NSCAN_NO_UPDATE_CHECK=1` to turn that off.
|
||||
|
||||
## 1.0.1 – 2026-10-26
|
||||
|
||||
- The device list sizes its columns to their content and gives the remaining width to
|
||||
|
||||
Reference in new issue
Block a user