From 88dcee2616fcc18f800b17b924ebad85450b9edd Mon Sep 17 00:00:00 2001 From: suschizu Date: Sat, 29 Feb 2020 19:23:33 +0100 Subject: [PATCH] Add mojave case to touch-bar-simulator + update to 4.1.0 (#77529) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- Casks/touch-bar-simulator.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Casks/touch-bar-simulator.rb b/Casks/touch-bar-simulator.rb index 07bf32b8ee9..00a59f73bad 100644 --- a/Casks/touch-bar-simulator.rb +++ b/Casks/touch-bar-simulator.rb @@ -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