File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@ echo off
22pushd %~dp0
3- if exist ..\python_embed\python.exe (
4- ..\python_embed\python.exe ScenarioMaker.pyw %*
3+ if exist ..\downloads\ python_embed\python.exe (
4+ ..\downloads\ python_embed\python.exe ScenarioMaker.pyw %*
55) else (
66 python ScenarioMaker.pyw %*
77)
Original file line number Diff line number Diff line change @@ -134,10 +134,10 @@ if ($framework) {
134134 if (-not (Test-Path " $PSScriptRoot \..\..\downloads\ffmpeg_win64" )) {
135135 Invoke-WebRequest - Uri $ffmpegUrl - OutFile $ffmpegZip 2>&1 | log
136136 checkCmd($? )
137- sleep 1s # Wait a bit to ensure file is fully written before expanding
137+ start- sleep - seconds 1 # Wait a bit to ensure file is fully written before expanding
138138 Expand-Archive - Path $ffmpegZip - DestinationPath " $PSScriptRoot \..\..\downloads" - Force 2>&1 | log
139139 checkCmd($? )
140- sleep 2s # Wait a bit to ensure all file handles are released before moving/deleting
140+ start- sleep - seconds 2 # Wait a bit to ensure all file handles are released before moving/deleting
141141 Move-Item " $PSScriptRoot \..\..\downloads\ffmpeg-N-123073-g743df5ded9-win64-gpl" " $PSScriptRoot \..\..\downloads\ffmpeg_win64" - Force 2>&1 | log
142142 Remove-Item $ffmpegZip 2>&1 | log
143143 }
You can’t perform that action at this time.
0 commit comments