Files
mapo-mono/obfuscate.ps1
T
2022-06-07 13:19:30 +02:00

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