5 sha256 arm: "5018df5c7c360da4b2c487f8fae0cf7d35f7e3955edbdd2c2f2abd51b7268908",
6 intel: "6201e6e596b1a56db97700133786d8b068c7c134cf79dd44035d71cd0ef42cad"
8 url "https://github.com/Jelmerro/Vieb/releases/download/#{version}/Vieb-#{version}-#{arch}mac.zip",
9 verified: "github.com/Jelmerro/Vieb/"
11 desc "Vim Inspired Electron Browser"
12 homepage "https://vieb.dev/"
14 depends_on macos: ">= :big_sur"
17 # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)
18 shimscript = "#{staged_path}/vieb.wrapper.sh"
19 binary shimscript, target: "vieb"
22 File.write shimscript, <<~EOS
24 exec '#{appdir}/Vieb.app/Contents/MacOS/Vieb' "$@"
29 "~/Library/Application Support/Vieb",
30 "~/Library/Caches/Vieb",