2 arch arm: "arm64", intel: "i386"
5 sha256 arm: "922603785e55f11dda4776af851763f20d579f6bb1c8ac4b6ef83e2506555490",
6 intel: "f235a1bac95b76488fcb6582ca86208a796e4467c69e9224ef0db6aefbb2714f"
8 url "https://storage.googleapis.com/storage.lunii.fr/public/deploy/installers/macos/#{arch}/Luniistore-#{version}-#{arch}.pkg",
9 verified: "storage.googleapis.com/storage.lunii.fr/"
11 desc "Utility for My Fabulous Storyteller"
12 homepage "https://lunii.com/"
15 url "https://downloads.lunii.com/v1/luniistore-installers/ln-ins-default-mac-os"
16 strategy :header_match
21 pkg "Luniistore-#{version}-#{arch}.pkg"
24 # The postinstall script automatically opens the app. Therefore, we must
25 # suppress this behavior to make the cask installation non-interactive.
27 ohai "The Luniistore package postinstall script launches the app" if retries >= 3
28 ohai "Attempting to close Luniistore to avoid unwanted user intervention" if retries >= 3
29 return unless system_command "/usr/bin/pkill", args: ["-f", "/Applications/Luniistore.app"]
32 uninstall quit: "com.lunii.luniistore",
33 pkgutil: "com.lunii.luniistore"
36 "~/Desktop/Luniistore",
37 "~/Library/Application Support/Luniitheque",
38 "~/Library/Saved Application State/com.lunii.luniistore.savedState",