mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-20 06:02:23 +00:00
Update build.ps1
This commit is contained in:
parent
0c03550c62
commit
28447a9d43
1 changed files with 1 additions and 21 deletions
|
@ -43,24 +43,6 @@ dotnet publish `
|
|||
-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'
|
||||
|
|
Loading…
Reference in a new issue