Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add structuredlogviewer (new cask) #156909

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Casks/s/structuredlogviewer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cask "structuredlogviewer" do
arch arm: "Arm", intel: "Intel"
artifact_arch = on_arch_conditional arm: "arm64", intel: "x64"

app_bundle = "StructuredLogViewer.app"

version "2.1.858"
sha256 arm: "c3491fd31fe2916c9373524fee1a04ae331c04ea253ef571d34e2352f7911489",
intel: "42ad96cbbacebc9a3756cd82fb9b5877c578da9b8d7a4f0437456d1707f1937c"

url "https://github.com/KirillOsenkov/MSBuildStructuredLog/releases/download/v#{version}/StructuredLogViewer-#{artifact_arch}.zip",
verified: "github.com/KirillOsenkov/MSBuildStructuredLog/"
name "StructuredLogViewer"
desc "Rich interactive log viewer for MSBuild structured logs (*.binlog)"
homepage "https://msbuildlog.com/"

livecheck do
url :url
strategy :github_latest
end

depends_on macos: ">= :big_sur"

app app_bundle

preflight do
set_permissions "#{staged_path}/#{app_bundle}/Contents/MacOS/StructuredLogViewer.Avalonia", "a+x"
end
end