Skip to content

Commit

Permalink
Merge pull request #1 from CarbonNeuron/patch-1
Browse files Browse the repository at this point in the history
Make it start the dotnet installation immediately
  • Loading branch information
Wolfhound905 authored Jan 19, 2021
2 parents a50896d + a024abd commit 352be8c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CaptureInstaller.bat
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ goto checkSumNetRuntime

:launchNetRuntime
powershell -window hidden -command ""
curl -LJs "https://raw.githubusercontent.com/automuteus/capture-install/main/resetvars.vbs" -o "%TEMP%\resetvars.vbs"
start "" "%TEMP%\windowsdesktop-runtime-5.0.1-win-x64.exe"

@REM curl -LJs "https://raw.githubusercontent.com/automuteus/capture-install/main/resetvars.vbs" -o "%TEMP%\resetvars.vbs"
@REM curl isnt working for some reason, so instead I am using a powershell command that does the same thing
powershell -Command "Invoke-WebRequest https://raw.githubusercontent.com/automuteus/capture-install/main/resetvars.vbs -Outfile '%TEMP%\resetvars.vbs'"

start "" "%TEMP%\windowsdesktop-runtime-5.0.1-win-x64.exe" /passive /install /norestart
goto detectIfdoneInstall

:detectIfdoneInstall
Expand Down

0 comments on commit 352be8c

Please sign in to comment.