Merge branch 'main' of github.com:koush/scrypted

This commit is contained in:
Koushik Dutta
2023-01-06 17:44:33 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
winget install -h OpenJS.NodeJS
winget install -h "Python 3.10"
winget install -h --id "OpenJS.NodeJS.LTS"
winget install -h --id "Python.Python.3.10"
py -m pip install --upgrade pip
py -m pip install aiofiles debugpy typing_extensions typing opencv-python

View File

@@ -1,4 +1,4 @@
echo 'if (!process.version.startsWith("v18")) throw new Error("node 18 required")' | node
echo 'if (!process.version.startsWith("v18")) throw new Error("Node 18 is required. Install Node Version Manager (nvm) for versioned node installations. See https://github.com/koush/scrypted/pull/498#issuecomment-1373854020")' | node
if [ "$?" != 0 ]
then
exit