diff options
Diffstat (limited to 'packaging/win/build-win.ps1')
| -rw-r--r-- | packaging/win/build-win.ps1 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packaging/win/build-win.ps1 b/packaging/win/build-win.ps1 index 4784071..0a30ad5 100644 --- a/packaging/win/build-win.ps1 +++ b/packaging/win/build-win.ps1 @@ -18,9 +18,10 @@ 5. build-node-runtime.ps1 (PyInstaller freeze of the daemon) 6. electron-builder --win nsis -.PARAMETER FfmpegDir - Passed through to build-node-runtime.ps1 -- directory with ffmpeg.exe / - ffprobe.exe to bundle. Optional; without it the node uses PATH. +.PARAMETER SkipFfmpeg + Passed through to build-node-runtime.ps1 -- skip bundling ffmpeg (fetched + and verified by default; see fetch-ffmpeg.ps1). Smaller, streaming-less + build for local iteration only. .PARAMETER NoElectronBump Keep the pinned Electron instead of upgrading to the latest release. @@ -31,7 +32,7 @@ #> [CmdletBinding()] param( - [string]$FfmpegDir = $env:MESHBAY_FFMPEG_DIR, + [switch]$SkipFfmpeg, [switch]$NoElectronBump, [switch]$SkipNodeRuntime ) @@ -90,7 +91,7 @@ try { } else { Step "building the bundled node (PyInstaller)" $rtArgs = @{} - if ($FfmpegDir) { $rtArgs["FfmpegDir"] = $FfmpegDir } + if ($SkipFfmpeg) { $rtArgs["SkipFfmpeg"] = $true } & (Join-Path $WinDir "build-node-runtime.ps1") @rtArgs if ($LASTEXITCODE -ne 0) { throw "build-node-runtime.ps1 failed" } } |