3 sha256 "0f81831d4fa0d57e7e7e56a40ab6fa6488950b7d6a944aa29918be42cfc46b8a"
5 url "https://github.com/ahrm/sioyek/releases/download/v#{version}/sioyek-release-mac.zip",
6 verified: "github.com/ahrm/sioyek/"
8 desc "PDF viewer designed for reading research papers and technical books"
9 homepage "https://sioyek.info/"
13 strategy :github_latest
16 container nested: "build/sioyek.dmg"
19 # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)
20 shimscript = "#{staged_path}/sioyek.wrapper.sh"
21 binary shimscript, target: "sioyek"
24 File.write shimscript, <<~EOS
26 exec '#{appdir}/sioyek.app/Contents/MacOS/sioyek' "$@"
31 "~/Library/Application Support/sioyek",
32 "~/Library/Saved Application State/com.yourcompany.sioyek.savedState",