1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-03-04 19:18:25 +00:00
This commit is contained in:
MrFastwind
2024-06-20 21:11:44 +00:00
committed by GitHub

View File

@@ -1,8 +1,10 @@
$NodeVersion = Invoke-Expression "node.exe --version" $NodeVersion = Invoke-Expression "node.exe --version"
$JSScriptPath = "\build\src\destreamer.js"
$ScriptPath = "$PSScriptRoot$JSScriptPath"
if ($NodeVersion.StartsWith("v8.")) { if ($NodeVersion.StartsWith("v8.")) {
node.exe build\src\destreamer.js $args & "node.exe $ScriptPath $args"
} }
else { else {
node.exe --max-http-header-size 32768 build\src\destreamer.js $args node.exe --max-http-header-size 32768 $ScriptPath $args
} }