Skip to content

Commit

Permalink
CLI | Support download and execute of Vorpal engine in MacOS arm64 (A…
Browse files Browse the repository at this point in the history
…ST-63697) (#852)

* add support to vorpal-mac-arm.go

* update exec file path of vorpal arm

---------

Co-authored-by: AlvoBen <[email protected]>
  • Loading branch information
AlvoBen and BenAlvo1 authored Aug 29, 2024
1 parent 9aeea38 commit 267e2b9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build darwin
//go:build darwin && amd64

package vorpalconfig

Expand Down
16 changes: 16 additions & 0 deletions internal/commands/vorpal/vorpalconfig/vorpal-mac-arm.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//go:build darwin && arm64

package vorpalconfig

import (
"github.com/checkmarx/ast-cli/internal/services/osinstaller"
)

var Params = osinstaller.InstallationConfiguration{
ExecutableFile: "vorpal_darwin_arm64",
DownloadURL: "https://download.checkmarx.com/vorpal-binary/vorpal_darwin_arm64.tar.gz",
HashDownloadURL: "https://download.checkmarx.com/vorpal-binary/hash.txt",
FileName: "vorpal.tar.gz",
HashFileName: "hash.txt",
WorkingDirName: "CxVorpal",
}

0 comments on commit 267e2b9

Please sign in to comment.