From dca2108eab74112e2cf299d882a3004c0c1bfc12 Mon Sep 17 00:00:00 2001 From: CoreCode Date: Thu, 25 Oct 2018 15:12:42 +0200 Subject: [PATCH] Update touch-bar-simulator to 2.0.0 (#54078) * Update touch-bar-simulator to 2.0.0 * Update touch-bar-simulator.rb --- Casks/touch-bar-simulator.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Casks/touch-bar-simulator.rb b/Casks/touch-bar-simulator.rb index 11c6254023e..fcf9c46040f 100644 --- a/Casks/touch-bar-simulator.rb +++ b/Casks/touch-bar-simulator.rb @@ -1,8 +1,14 @@ cask 'touch-bar-simulator' do - version '2.0.0' - sha256 '662b4e847f05b63ee04378fcd128c467d72d7d14f755557472899a9dd2267fd9' + 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 + version '2.0.0' + sha256 '662b4e847f05b63ee04378fcd128c467d72d7d14f755557472899a9dd2267fd9' + url "https://github.com/sindresorhus/touch-bar-simulator/releases/download/v#{version}/Touch.Bar.Simulator.#{version}.dmg" + end - url "https://github.com/sindresorhus/touch-bar-simulator/releases/download/v#{version}/Touch.Bar.Simulator.#{version}.dmg" appcast 'https://github.com/sindresorhus/touch-bar-simulator/releases.atom' name 'Touch Bar Simulator' homepage 'https://github.com/sindresorhus/touch-bar-simulator'