hammerspoon2-docs
    Preparing search index...

    Function checkForUpdates

    • Check for a newer version of Hammerspoon 2, the same as choosing "Check for Updates…" from its menu. If there is one, a window offers to install it. This is useful when Hammerspoon 2 is hidden from both the Dock and the menu bar, so that menu can't be reached.

      Returns boolean

      true if the check started, false if it couldn't start, e.g. because a check is already in progress