Module: OS::Mac::Cask::Installer Private
This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.
Instance Method Summary collapse
- #prelude ⇒ void private
Instance Method Details
#prelude ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
This method returns an undefined value.
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'extend/os/mac/cask/installer.rb', line 15 def prelude # Resolve and memoize the system languages as the first cask # operation: resolving them lazily later (e.g. while serializing the # cask config) would fork (`Utils.popen`) after this process has # already used fork-hostile frameworks such as Security.framework # for signing checks. `prelude` runs before any download, artifact # or signing work in installs, reinstalls and upgrades and does not # run at all when no casks are being processed. # https://github.com/Homebrew/brew/issues/23606 MacOS.languages super end |