Skip to content

Commit 9739bc0

Browse files
authored
Merge pull request #12 from microsoft/jewilder-host_setup
Jewilder host setup
2 parents 2c79103 + b4b61c8 commit 9739bc0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ScenarioMaker/ScenarioMaker.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22
pushd %~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
)

setup_src/src_host/host_setup.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)