add logic to build blenderbim-nightly chocolatey package

This commit is contained in:
befr
2022-08-02 10:28:13 +02:00
committed by Dion Moult
parent bbb3b62b8a
commit d058f17c15
9 changed files with 239 additions and 0 deletions
@@ -0,0 +1,11 @@
$processName = "blender"
$blenderIsRunning = Get-Process -Name $processName -ErrorAction SilentlyContinue
if($blenderIsRunning -eq $null) {
echo "Blender is not running ready for next action."
}
else {
Write-Warning "$processName is still running - installer cannot safely proceed to next action."
Write-Warning "Please retry after closing all running blender applications."
exit 1
}