Files
Daybreak/Scripts/PublishWindowsX86.ps1
T
amacocian ef513e1230 Gwca bindings (#1462)
* Bump version to 0.9.10.1

* Bump Microsoft.Web.WebView2 from 1.0.3719.77 to 1.0.3800.47 (#1442)

---
updated-dependencies:
- dependency-name: Microsoft.Web.WebView2
  dependency-version: 1.0.3800.47
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve mod view responsiveness (#1443)

* Improve application launcher logging (Closes #1441) (#1444)

* Damage modifier 0x248 (Closes #1438) (#1445)

* Initial commit

* Setup generator

* Progress

* Update generator

* Initial commit

* Setup generator

* Progress

* Update generator

* Fix library loading

* Move code to gwca

* Fix leave party

* Disable console on Release

* Add more exports to gwca

* Upgrade gwca

* Fixes to character selector

* Fix GetWindowHandle

* Move character selector to frame based

* Fix config spamming

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandru Macocian <amacocian@microsoft.com>
2026-02-24 06:37:10 -08:00

31 lines
1.4 KiB
PowerShell

# Publishes the Daybreak.Injector (x86) and Daybreak.API (x86) for Windows.
# These are x86 components that can only be built on Windows.
Param(
[string]$Configuration = "Release"
)
$ErrorActionPreference = "Stop"
$RepoRoot = Resolve-Path "$PSScriptRoot/.."
$InjectorOutput = Join-Path $RepoRoot "Publish/Injector"
$ApiOutput = Join-Path $RepoRoot "Publish/Api"
Write-Host "=== Restoring packages ===" -ForegroundColor Cyan
dotnet restore "$RepoRoot/Daybreak.Injector/Daybreak.Injector.csproj" -r win-x86
if ($LASTEXITCODE -ne 0) { throw "Daybreak.Injector restore failed" }
dotnet restore "$RepoRoot/Daybreak.API/Daybreak.API.csproj" -r win-x86
if ($LASTEXITCODE -ne 0) { throw "Daybreak.API restore failed" }
Write-Host "=== Publishing Daybreak.Injector (win-x86) ===" -ForegroundColor Cyan
dotnet publish "$RepoRoot/Daybreak.Injector/Daybreak.Injector.csproj" -c $Configuration -r win-x86 -o $InjectorOutput --no-restore
if ($LASTEXITCODE -ne 0) { throw "Daybreak.Injector publish failed" }
Write-Host "=== Publishing Daybreak.API (win-x86) ===" -ForegroundColor Cyan
dotnet publish "$RepoRoot/Daybreak.API/Daybreak.API.csproj" -c $Configuration -r win-x86 -o $ApiOutput --no-restore
if ($LASTEXITCODE -ne 0) { throw "Daybreak.API publish failed" }
Write-Host "=== Windows x86 publish complete ===" -ForegroundColor Green
Write-Host "Injector: $InjectorOutput"
Write-Host "API: $ApiOutput"