Files
moonlight-qt/setup-deps.ps1
T
Cameron Gutman 88864853c2 Update dependencies and build flags
Build fixes:
- Re-enabled CFG and EHCont on OpenSSL (/OPT:REF fixes the ILT thunk issue)
- Fixed missing assembly optimizations on Windows ARM64 OpenSSL build
- Fixed missing /O2 flag for Windows OpenSSL builds
- Increased optimization level for Meson projects

Updates:
- SDL3 -> ae7dae5b630
- sdl2-compat -> 0cc83e9ad87
- discord-rpc rapidjson -> 297637bc0a0f00
- openssl -> 3.5.9 (downgraded to 3.5 LTS)
2026-11-25 20:30:21 -06:00

31 lines
1.0 KiB
PowerShell

$ErrorActionPreference = 'Stop'
$Organization = "moonlight-stream"
$PrebuiltRepo = "moonlight-qt-deps"
$TargetDir = Join-Path $PSScriptRoot "libs\windows"
$Assets = @("windows-x64.zip", "windows-ARM64.zip")
$Tag = "v22"
if (Test-Path $TargetDir) {
Write-Host "Cleaning target directory..." -ForegroundColor Cyan
Remove-Item -Path "$TargetDir\*" -Recurse -Force
} else {
New-Item -ItemType Directory -Path $TargetDir | Out-Null
}
foreach ($AssetName in $Assets) {
$Url = "https://github.com/$Organization/$PrebuiltRepo/releases/download/$Tag/$AssetName"
$ArchivePath = Join-Path $env:TEMP $AssetName
Write-Host "Downloading $AssetName..." -ForegroundColor Cyan
curl.exe -s -L -f -o "$ArchivePath" "$Url"
if ($LASTEXITCODE -ne 0) {
exit $LASTEXITCODE
}
Write-Host "Extracting $AssetName..." -ForegroundColor Cyan
Expand-Archive -Path $ArchivePath -DestinationPath $TargetDir -Force
Remove-Item $ArchivePath
}
Write-Host "Dependencies successfully deployed" -ForegroundColor Green