File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,20 +39,19 @@ _ensure_dirs:
3939
4040[windows ]
4141_ ensure_dirs :
42- New-Item -ItemType Directory runtimes/ linux-x64 / native > $null
43- New-Item -ItemType Directory runtimes/ win-x64 / native > $null
44- New-Item -ItemType Directory runtimes/ osx-x64 / native > $null
45- New-Item -ItemType Directory runtimes/ osx-arm64 / native > $null
46- New-Item -ItemType Directory build > $null
42+ New-Item -ItemType Directory -Force runtimes/ linux-x64 / native > $null
43+ New-Item -ItemType Directory -Force runtimes/ win-x64 / native > $null
44+ New-Item -ItemType Directory -Force runtimes/ osx-x64 / native > $null
45+ New-Item -ItemType Directory -Force runtimes/ osx-arm64 / native > $null
46+ New-Item -ItemType Directory -Force build > $null
4747
4848# Downloads the precompiled binaries for OIDN from GitHub
4949[windows ]
5050_ download :
51- if (-not(Test-Path -Path " prebuilt" -PathType Container))
52- {
53- Invoke-WebRequest -Uri " https://github.com/pgrit/RenderLibs/releases/download/v{{ renderLibVersion}} /RenderLibs-v{{ renderLibVersion}} .zip" -OutFile " prebuilt.zip"
54- Expand-Archive " prebuilt.zip" -DestinationPath ./ prebuilt
55- rm prebuilt.zip
51+ if (-not(Test-Path -Path " prebuilt" -PathType Container)) { \
52+ Invoke-WebRequest -Uri " https://github.com/pgrit/RenderLibs/releases/download/v{{ renderLibVersion}} /RenderLibs-v{{ renderLibVersion}} .zip" -OutFile " prebuilt.zip" && \
53+ Expand-Archive " prebuilt.zip" -DestinationPath ./ prebuilt && \
54+ rm prebuilt.zip \
5655 }
5756
5857# Downloads the precompiled binaries for OIDN from GitHub
You can’t perform that action at this time.
0 commit comments