Skip to content

Commit

Permalink
Update server proj path.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Oct 13, 2024
1 parent 791e18b commit 779b55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .build/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $InstallerDir = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer"
$VsWhere = "$InstallerDir\vswhere.exe"
$MSBuildPath = (&"$VsWhere" -latest -prerelease -products * -find "\MSBuild\Current\Bin\MSBuild.exe").Trim()
$Root = (Get-Item -Path $PSScriptRoot).Parent.FullName
$DownloadsFolder = "$Root\ControlR.Server\wwwroot\downloads"
$DownloadsFolder = "$Root\ControlR.Web.Server\wwwroot\downloads"

function Check-LastExitCode {
if ($LASTEXITCODE -and $LASTEXITCODE -gt 0) {
Expand Down Expand Up @@ -91,7 +91,7 @@ if ($BuildStreamer) {
Compress-Archive -Path "$Root\ControlR.Streamer\bin\publish\*" -DestinationPath "$DownloadsFolder\win-x86\ControlR.Streamer.zip" -Force
}

dotnet publish -p:ExcludeApp_Data=true --runtime linux-x64 --configuration Release --output $OutputPath --self-contained true "$Root\ControlR.Server\"
dotnet publish -p:ExcludeApp_Data=true --runtime linux-x64 --configuration Release --output $OutputPath --self-contained true "$Root\ControlR.Web.Server\"


if ($BuildWebsite) {
Expand Down

0 comments on commit 779b55e

Please sign in to comment.