Add mojave case to touch-bar-simulator + update to 4.1.0 (#77529)

* Update touch-bar-simulator

* Update touch-bar-simulator.rb

* Update touch-bar-simulator.rb

* Update touch-bar-simulator.rb

* Update touch-bar-simulator.rb

Co-authored-by: Vítor Galvão <info@vitorgalvao.com>
This commit is contained in:
suschizu 2020-02-29 19:23:33 +01:00 committed by GitHub
parent 19a122850a
commit 88dcee2616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -2,10 +2,17 @@ cask 'touch-bar-simulator' do
if MacOS.version <= :high_sierra
version '1.2.0'
sha256 '4abe55de716ae56a41031cdb1d3b27bf6b1efae18b33b80bb0419669a9a76aa1'
url "https://github.com/sindresorhus/touch-bar-simulator/releases/download/v#{version}/Touch-Bar-Simulator-#{version}.dmg"
else
elsif MacOS.version <= :mojave
version '3.2.0'
sha256 'bdfaf740392bddb3e9b281a30efab27e03638d3428ba555650dca517153c13c6'
url "https://github.com/sindresorhus/touch-bar-simulator/releases/download/v#{version}/Touch.Bar.Simulator.#{version}.dmg"
else
version '4.1.0'
sha256 '95e098b5b78f5f3c2ab0e49d4c0341f9f71fdf87d2924c8c2af0e18073f311dd'
url "https://github.com/sindresorhus/touch-bar-simulator/releases/download/v#{version}/Touch.Bar.Simulator.#{version}.dmg"
end