Sha256: ebfd0dc0c248f7c22c83c97d5c6a035c85e4b3aefd4d90bfcf5889224a9aab5d

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

module VlcCheck
  def vlc_installed?
    install_vlc unless File.file? "#{Dir.home}/Applications/VLC.app/Contents/MacOS/VLC"
  end

  def install_vlc
    Media::Printer.output ['VLC media player is not installed on your system. Make sure you have homebrew and \
                            brew-cask installed, and then run the following command:',
                           'brew cask install vlc']
    exit 1
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
media-runner-1.0.3 lib/media/runner/app/vlc_check.rb