14 lines
394 B
PowerShell
14 lines
394 B
PowerShell
$testString = dotnet tool list -g | Select-String -Pattern "obfuscar.globaltool"
|
|
|
|
if($testString -eq $null)
|
|
{
|
|
Write-Output("Installing obfuscar as global tool")
|
|
dotnet tool install --global Obfuscar.GlobalTool --version 2.2.33
|
|
}
|
|
else
|
|
{
|
|
Write-Output("Obfuscar already installed!")
|
|
#dotnet tool update --global Obfuscar.GlobalTool --version 2.2.33
|
|
}
|
|
|
|
obfuscar.console obfuscar.xml |