hammerspoon2-docs
    Preparing search index...

    Function updateAll

    • Update every installed Spoon, as update() does, logging each one to the Console as it's done, and then a summary. Spoons installed from the same source share one download, and different sources are downloaded one at a time. Spoons installed some other way than by install() (such as by opening a .spoon2 file) are skipped, since there's nowhere to update them from. A Spoon that fails to update doesn't stop the others. isUpdating is true until they've all finished.

      Typing hs.spoons.updateAll() into the Console is enough: the updates start straight away, and their progress is logged there. The returned Promise is for code that wants the results. It never rejects: a Spoon that couldn't be updated has a status of "failed", and an error with the code and message update() would have rejected with.

      Returns Promise<
          {
              error: { code: string; message: string }
              | null;
              name: string;
              status: "updated" | "upToDate" | "skipped" | "failed";
          }[],
      >

      Resolves with what happened to each installed Spoon, sorted by name