XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEWarframe

【WinUI】基于Warframe游戏本体的公开服务器以及安装器

公开
关注 0 Fork 0 Star 0
UTF-8
#requires -Version 7.0
param([Parameter(Mandatory)][string]$GameExecutable, [string]$ReportPath)
$ErrorActionPreference = 'Stop'
$taskRoot = [IO.Path]::GetFullPath((Join-Path $PSScriptRoot '..'))
if (-not $ReportPath) { $ReportPath = Join-Path $taskRoot ('artifacts/native-bindings-' + [guid]::NewGuid().ToString('N') + '/report.json') }
$taskExecutable = [IO.Path]::GetFullPath($GameExecutable)
$taskReport = [IO.Path]::GetFullPath($ReportPath)
& dotnet run --project (Join-Path $taskRoot 'Client/Tests/NativeBindingVerification/NativeBindingVerification.csproj') -c Release -- $taskExecutable $taskReport
if ($LASTEXITCODE -ne 0) { throw 'Native binding compatibility verification failed.' }