File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,29 @@ Write-Host 'Building'
10
10
dotnet publish `
11
11
.\v2rayN\v2rayN.csproj `
12
12
- c Release `
13
+ - r win- x64 `
13
14
-- self- contained false `
14
15
- p:PublishReadyToRun= false `
15
16
- p:PublishSingleFile= true `
16
- - o $OutputPath
17
+ - o " $OutputPath \win-x64 "
17
18
18
19
dotnet publish `
19
- .\AmazTool\AmazTool .csproj `
20
+ .\v2rayN.Desktop\v2rayN.Desktop .csproj `
20
21
- c Release `
21
- -- self- contained false `
22
+ - r linux- x64 `
23
+ -- self- contained true `
22
24
- p:PublishReadyToRun= false `
23
25
- p:PublishSingleFile= true `
24
- - o $OutputPath
26
+ - o " $OutputPath \linux-x64"
27
+
25
28
26
29
if ( -Not $? ) {
27
30
exit $lastExitCode
28
31
}
29
32
30
33
if ( Test-Path - Path .\bin\v2rayN ) {
31
- rm - Force " $OutputPath \*.pdb"
32
- rm - Force " $OutputPath \*.xml "
34
+ rm - Force " $OutputPath \win-x64\ *.pdb"
35
+ rm - Force " $OutputPath \linux-x64\*.pdb "
33
36
}
34
37
35
38
Write-Host ' Build done'
You can’t perform that action at this time.
0 commit comments