feat: add Windows runtime support
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[int] $Port = 5000
|
||||
)
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$engineDir = Split-Path -Parent $PSScriptRoot
|
||||
$project = Join-Path $engineDir 'src/CortexEngine.App/CortexEngine.App.csproj'
|
||||
|
||||
Push-Location $engineDir
|
||||
try {
|
||||
& dotnet run --project $project -c Debug -r win-x64 -- --mcp-port $Port
|
||||
$exitCode = $LASTEXITCODE
|
||||
}
|
||||
finally {
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
exit $exitCode
|
||||
Reference in New Issue
Block a user