File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ if (-not $SkipVoiceAttackRestart -and $IsWindowsOS) {
2323}
2424
2525Write-Host " `n Building plugin..." - ForegroundColor Cyan
26- dotnet clean " EliteVA/EliteVA.csproj " - c Debug
27- dotnet build " EliteVA/EliteVA.csproj " - c Debug
26+ dotnet restore
27+ dotnet build -- no - restore -- configuration Release
2828
2929if ($LASTEXITCODE -ne 0 ) {
3030 Write-Error " Build failed!"
@@ -39,10 +39,8 @@ if (-not (Test-Path $DestinationPath)) {
3939}
4040
4141# Copy all items from build output to destination
42- $buildOutputPath = " EliteVA/bin/Debug/net8.0/"
43- Get-ChildItem - Path $buildOutputPath - Filter * .dll | ForEach-Object {
44- Copy-Item $_.FullName - Destination $DestinationPath - Force
45- }
42+ $buildOutputPath = " EliteVA/bin/Release/net48/"
43+ Copy-Item - Path " $buildOutputPath *" - Destination $DestinationPath - Force
4644
4745Write-Host " Plugin deployed successfully." - ForegroundColor Green
4846
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments