diff --git a/v2rayN/build.ps1 b/v2rayN/build.ps1 index d0ac41c5..2af5ccdf 100644 --- a/v2rayN/build.ps1 +++ b/v2rayN/build.ps1 @@ -42,25 +42,7 @@ dotnet publish ` -p:PublishReadyToRun=false ` -p:PublishSingleFile=true ` -o "$OutputPath\linux-arm64" - -dotnet publish ` - .\v2rayN.Desktop\v2rayN.Desktop.csproj ` - -c Release ` - -r osx-x64 ` - --self-contained true ` - -p:PublishReadyToRun=false ` - -p:PublishSingleFile=true ` - -o "$OutputPath\osx-x64" - -dotnet publish ` - .\v2rayN.Desktop\v2rayN.Desktop.csproj ` - -c Release ` - -r osx-arm64 ` - --self-contained true ` - -p:PublishReadyToRun=false ` - -p:PublishSingleFile=true ` - -o "$OutputPath\osx-arm64" - + if ( -Not $? ) { exit $lastExitCode @@ -71,8 +53,6 @@ if ( Test-Path -Path .\bin\v2rayN ) { rm -Force "$OutputPath\win-arm64\*.pdb" rm -Force "$OutputPath\linux-x64\*.pdb" rm -Force "$OutputPath\linux-arm64\*.pdb" - rm -Force "$OutputPath\osx-x64\*.pdb" - rm -Force "$OutputPath\osx-arm64\*.pdb" } Write-Host 'Build done'