| 1 |
//go:build darwin || build |
| 2 |
// +build darwin build |
| 3 |
|
| 4 |
package vfkit |
| 5 |
|
| 6 |
import ( |
| 7 |
"fmt" |
| 8 |
|
| 9 |
"github.com/crc-org/crc/v2/pkg/crc/constants" |
| 10 |
) |
| 11 |
|
| 12 |
const ( |
| 13 |
VfkitVersion = "0.5.0" |
| 14 |
vfkitCommand = "vfkit" |
| 15 |
) |
| 16 |
|
| 17 |
var ( |
| 18 |
VfkitDownloadURL = fmt.Sprintf("https://github.com/crc-org/vfkit/releases/download/v%s/%s", VfkitVersion, vfkitCommand) |
| 19 |
VfkitEntitlementsURL = fmt.Sprintf("https://raw.githubusercontent.com/crc-org/vfkit/v%s/vf.entitlements", VfkitVersion) |
| 20 |
) |
| 21 |
|
| 22 |
func ExecutablePath() string { |
| 23 |
return constants.ResolveHelperPath(vfkitCommand) |
| 24 |
} |