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.