LumaTunnel
【WinUI】LumaTunnel 是一个面向个人多设备的 Windows 代理系统。客户端在本机提供 HTTP/HTTPS CONNECT 与 SOCKS5 TCP 代理,并通过一个受信任 TLS 证书保护的 WSS 会话,将多个 TCP 流复用到自建 Windows Server 节点。
关注
0
Fork
0
Star
0
[CmdletBinding()]
param(
[string]$Version = '0.1.0-alpha',
[ValidateSet('Debug', 'Release')]
[string]$Configuration = 'Release'
)
$ErrorActionPreference = 'Stop'
$repoRoot = Split-Path -Parent $PSScriptRoot
$outputRoot = Join-Path $repoRoot 'artifacts\server\win-x64'
New-Item -ItemType Directory -Force -Path $outputRoot | Out-Null
dotnet publish (Join-Path $repoRoot 'src\LumaTunnel.Server\LumaTunnel.Server.csproj') `
-c $Configuration -r win-x64 --self-contained true `
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true `
-p:Version=$Version -o $outputRoot
if ($LASTEXITCODE -ne 0) { throw 'Server publish failed.' }
Write-Host "Server publish: $outputRoot"
[CmdletBinding()]
param(
[string]$Version = '0.1.0-alpha',
[ValidateSet('Debug', 'Release')]
[string]$Configuration = 'Release'
)
$ErrorActionPreference = 'Stop'
$repoRoot = Split-Path -Parent $PSScriptRoot
$outputRoot = Join-Path $repoRoot 'artifacts\server\win-x64'
New-Item -ItemType Directory -Force -Path $outputRoot | Out-Null
dotnet publish (Join-Path $repoRoot 'src\LumaTunnel.Server\LumaTunnel.Server.csproj') `
-c $Configuration -r win-x64 --self-contained true `
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true `
-p:Version=$Version -o $outputRoot
if ($LASTEXITCODE -ne 0) { throw 'Server publish failed.' }
Write-Host "Server publish: $outputRoot"