diff --git a/v2rayN/build.ps1 b/v2rayN/build.ps1 index e87fa1ef..fd1c7d28 100644 --- a/v2rayN/build.ps1 +++ b/v2rayN/build.ps1 @@ -10,7 +10,7 @@ Write-Host 'Building' dotnet publish ` .\v2rayN\v2rayN.csproj ` -c Release ` - --self-contained false ` + --self-contained true ` -p:PublishReadyToRun=true ` -p:PublishSingleFile=true ` -o $OutputPath @@ -18,7 +18,7 @@ dotnet publish ` dotnet publish ` .\v2rayUpgrade\v2rayUpgrade.csproj ` -c Release ` - --self-contained false ` + --self-contained true ` -p:PublishReadyToRun=true ` -p:PublishSingleFile=true ` -o $OutputPath @@ -36,4 +36,4 @@ Write-Host 'Build done' ls $OutputPath 7z a v2rayN.zip $OutputPath -exit 0 \ No newline at end of file +exit 0