Skip to content

Commit 55a8369

Browse files
committed
🔨 update development scripts
semver: chore
1 parent 2dbbb1e commit 55a8369

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

deploy-plugin.ps1

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ if (-not $SkipVoiceAttackRestart -and $IsWindowsOS) {
2323
}
2424

2525
Write-Host "`nBuilding 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

2929
if ($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

4745
Write-Host "Plugin deployed successfully." -ForegroundColor Green
4846

global.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)