From 0f7f585debab86d544813887f8daa99e789cda3c Mon Sep 17 00:00:00 2001 From: Adrian Calinescu Date: Fri, 1 May 2020 00:48:34 +0300 Subject: [PATCH] Fix label in .cmd script (#112) Fixes https://github.com/snobu/destreamer/issues/111 --- README.md | 2 +- destreamer.cmd | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b3522e..74cb9b1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Hopefully this doesn't break the end user agreement for Microsoft Stream. Since ## Prereqs -- [**Node.js**][node]: You'll need Node.js version 8.0 or higher. A GitHub Action runs tests on all major Node versions on every commit. +- [**Node.js**][node]: You'll need Node.js version 8.0 or higher. A GitHub Action runs tests on all major Node versions on every commit. One caveat for Node 8, if you get a `Parse Error` with `code: HPE_HEADER_OVERFLOW` you're out of luck and you'll need to upgrade to Node 10+. - **npm**: usually comes with Node.js, type `npm` in your terminal to check for its presence - [**ffmpeg**][ffmpeg]: a recent version (year 2019 or above), in `$PATH` or in the same directory as this README file (project root). - [**git**][git]: one or more npm dependencies require git. diff --git a/destreamer.cmd b/destreamer.cmd index 9ba15a6..c238eda 100644 --- a/destreamer.cmd +++ b/destreamer.cmd @@ -4,7 +4,9 @@ node.exe --version | findstr "v8." IF %ERRORLEVEL% EQU 0 GOTO Node8 node.exe --max-http-header-size 32768 build\src\destreamer.js %* +GOTO :End :Node8 node.exe build\src\destreamer.js %* +:End \ No newline at end of file