@echo off

WHERE dotnet >nul 2>nul
IF %ERRORLEVEL% NEQ 0 ECHO You need to install .NET Core from https://dot.net && EXIT \b 1

dotnet Decompiler.dll %*

@echo off

WHERE dotnet >nul 2>nul
IF %ERRORLEVEL% NEQ 0 ECHO You need to install .NET Core from https://dot.net && EXIT /B 1

dotnet Decompiler.dll %*
EXIT /B %errorlevel%

Exit batch with dotnet's exit code
Exit batch with dotnet's exit code
