1 cask "synology-image-assistant" do
2 arch arm: "arm64", intel: "x64"
5 sha256 arm: "322ba03618fff941ce4af008de124523cdfc604b1beb4bfaafdce6efbd636da3",
6 intel: "07cf27ff568dc30c3be6ecc74116fc71ed479fd7499d53a7840cb56ef29b055e"
8 url "https://global.download.synology.com/download/Utility/SynologyImageAssistant/#{version}/Mac/SynologyImageAssistant-#{version}-#{arch}.pkg"
9 name "Synology Image Assistant"
10 desc "Assistant to generate image previews of formats like HEIC and HEVC"
11 homepage "https://www.synology.com/"
14 url "https://utyupdate.synology.com/electron/SynologyImageAssistant/latest-mac.yml"
15 strategy :electron_builder
18 pkg "SynologyImageAssistant-#{version}-#{arch}.pkg"
20 uninstall launchctl: "com.synology.Photos",
21 quit: "com.synology.Photos",
22 pkgutil: "com.synology.Photos",
23 delete: "/Applications/Synology Image Assistant.app"
26 "~/Library/Application Scripts/Synology/SynologyImageAssistantStartup.*",
27 "~/Library/Application Scripts/Synology/SynologyImageAssistantUninstaller.*",
28 "~/Library/Application Support/Synology Image Assistant",