rewrite for eet 2.0 api version v4
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$required = @(
|
||||
"EETCPP_PLAYGROUND",
|
||||
"EET_ENDPOINT",
|
||||
"EET_PKCS12_PATH",
|
||||
"EET_PKCS12_PASSWORD"
|
||||
)
|
||||
foreach ($name in $required) {
|
||||
if (-not (Get-Item "Env:$name" -ErrorAction SilentlyContinue)) {
|
||||
throw "Set $name before running preflight."
|
||||
}
|
||||
}
|
||||
|
||||
& $env:EETCPP_PLAYGROUND preflight `
|
||||
--endpoint $env:EET_ENDPOINT `
|
||||
--certificate $env:EET_PKCS12_PATH `
|
||||
--password-env EET_PKCS12_PASSWORD
|
||||
exit $LASTEXITCODE
|
||||
Reference in New Issue
Block a user