Unify common build properties

This commit is contained in:
Reinhard Pointner 2016-11-05 04:46:24 +08:00
parent 4e177576e0
commit 428b3ebac5
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
$app = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = 'FileBot'"
echo $app
$app = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = '@{application.name}'"
if ($app -eq $null) {
echo 'FileBot is not installed.'