diff --git a/internal/commands/vorpal/vorpalconfig/vorpal-linux.go b/internal/commands/vorpal/vorpalconfig/vorpal-linux-amd.go similarity index 94% rename from internal/commands/vorpal/vorpalconfig/vorpal-linux.go rename to internal/commands/vorpal/vorpalconfig/vorpal-linux-amd.go index e59dda6b7..7aec2cbc6 100644 --- a/internal/commands/vorpal/vorpalconfig/vorpal-linux.go +++ b/internal/commands/vorpal/vorpalconfig/vorpal-linux-amd.go @@ -1,4 +1,4 @@ -//go:build linux +//go:build linux && amd64 package vorpalconfig diff --git a/internal/commands/vorpal/vorpalconfig/vorpal-linux-arm.go b/internal/commands/vorpal/vorpalconfig/vorpal-linux-arm.go new file mode 100644 index 000000000..8d95c3f2a --- /dev/null +++ b/internal/commands/vorpal/vorpalconfig/vorpal-linux-arm.go @@ -0,0 +1,16 @@ +//go:build linux && (arm64 || arm) + +package vorpalconfig + +import ( + "github.com/checkmarx/ast-cli/internal/services/osinstaller" +) + +var Params = osinstaller.InstallationConfiguration{ + ExecutableFile: "vorpal_linux_arm64", + DownloadURL: "https://download.checkmarx.com/vorpal-binary/vorpal_linux_arm64.tar.gz", + HashDownloadURL: "https://download.checkmarx.com/vorpal-binary/hash.txt", + FileName: "vorpal.tar.gz", + HashFileName: "hash.txt", + WorkingDirName: "CxVorpal", +}