Skip to content

nexus_update_notify

miscellaneous · scripts/miscellaneous/nexus_update_notify.m

: nexus_update_notify ()

Check for a newer Nexus build, on the first start of each day by default.

Called from the startup file of an interactive session. It runs nexus_check_updates ("Auto", true), which prints what it is doing, downloads and verifies the installer when a newer build exists, and asks before closing Nexus to run it. How often it checks is set with nexus_check_updates ("Frequency", "daily") ("daily", "weekly", "startup" or "never"). It does nothing for a development build (no build stamp), for scripted runs (--eval, a script file), under a CI system, or when NEXUS_NO_UPDATE_CHECK is set. Any failure, including an unreachable portal, is silent apart from one line.