From 0b9becd4e2839627e62aa877a4115f9d50c5008e Mon Sep 17 00:00:00 2001 From: suschizu Date: Tue, 1 Sep 2020 02:44:04 +0200 Subject: [PATCH] Update lrtimelapse from 5.4.0 to 5.5.0 (#88442) --- Casks/lrtimelapse.rb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Casks/lrtimelapse.rb b/Casks/lrtimelapse.rb index 02a306fa330..dd2739d0fde 100644 --- a/Casks/lrtimelapse.rb +++ b/Casks/lrtimelapse.rb @@ -1,6 +1,6 @@ cask "lrtimelapse" do - version "5.4.0" - sha256 "a243f75a8b1d1e897fda58fcd82d01f35ba7fb26ed6152b6c911b7c5e76a6396" + version "5.5.0" + sha256 "d01f583fc899b2a80575050a59503a655d3745210858d658ef9fcaa1bbac6794" url "https://lrtimelapse.com/files/lrtimelapse-#{version.major}-mac/" appcast "https://lrtimelapse.com/download/" @@ -9,10 +9,18 @@ cask "lrtimelapse" do pkg "LRTimelapse #{version} Installer.pkg" - uninstall script: "Uninstall LRTimelapse.command", + uninstall script: { + executable: "/usr/local/LRTimelapse/uninstall.sh", + input: "\n", + sudo: true, + }, pkgutil: [ "com.lrtimelapse.LRAddons", "com.lrtimelapse.LRTimelapse#{version.major}", "com.lrttimelapse.LRTTools", ] + + caveats do + files_in_usr_local + end end