Sean Molenaar c34b71655c feat: allow font install on linux
Apply suggestions from code review

Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com>

feat: add linux appdir

Apply suggestions from code review

Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com>
2025-01-19 11:14:24 +01:00

26 lines
493 B
Ruby

# typed: strict
# frozen_string_literal: true
module OS
module Linux
module Cask
module Installer
private
extend T::Helpers
requires_ancestor { ::Cask::Installer }
sig { void }
def check_stanza_os_requirements
return if artifacts.all?(::Cask::Artifact::Font)
raise ::Cask::CaskError, "macOS is required for this software."
end
end
end
end
end
Cask::Installer.prepend(OS::Linux::Cask::Installer)