mirror of
https://github.com/bryanthaboi/gen1recomp
synced 2026-09-26 13:33:27 -04:00
11 lines
433 B
PowerShell
11 lines
433 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
$out = "dist/native/win-x64"
|
|
New-Item -ItemType Directory -Force -Path $out | Out-Null
|
|
dotnet publish native/tls_dial/Gen1Tls.csproj `
|
|
-c Release -r win-x64 -o $out
|
|
if ($LASTEXITCODE -ne 0) { throw "dotnet publish failed ($LASTEXITCODE)" }
|
|
if (-not (Test-Path "$out/gen1tls.dll")) {
|
|
throw "gen1tls.dll missing after publish"
|
|
}
|
|
Get-Item "$out/gen1tls.dll" | Format-List Name, Length, LastWriteTime
|