1 cask "wezterm@nightly" do
5 url "https://github.com/wez/wezterm/releases/download/nightly/WezTerm-macos-nightly.zip",
6 verified: "github.com/wez/wezterm/"
8 desc "GPU-accelerated cross-platform terminal emulator and multiplexer"
9 homepage "https://wezfurlong.org/wezterm/"
11 conflicts_with cask: "wezterm"
21 binary "#{appdir}/WezTerm.app/Contents/MacOS/#{tool}"
25 # Move "WezTerm-macos-#{version}/WezTerm.app" out of the subfolder
26 staged_subfolder = staged_path.glob(["WezTerm-*", "wezterm-*"]).first
28 FileUtils.mv(staged_subfolder/"WezTerm.app", staged_path)
29 FileUtils.rm_r(staged_subfolder)
33 zap trash: "~/Library/Saved Application State/com.github.wez.wezterm.savedState"