Arch from beacon

This commit is contained in:
maxdcb
2026-05-01 18:57:13 +02:00
parent 8fb31c687c
commit 38614b8af8
3 changed files with 37 additions and 2 deletions
+1 -1
Submodule core updated: 9d23fef49a...e4e885adc1
+35
View File
@@ -0,0 +1,35 @@
$ErrorActionPreference = "Stop"
$repositories = @(
"core",
"libs/libDns",
"libs/libSocketHandler",
"libs/libSocks5",
"thirdParty/donut"
)
$root = $PSScriptRoot
if ([string]::IsNullOrWhiteSpace($root)) {
$root = (Get-Location).Path
}
foreach ($repository in $repositories) {
$path = Join-Path $root $repository
if (-not (Test-Path -Path $path -PathType Container)) {
throw "Repository path not found: $path"
}
Write-Host "[*] Updating $repository"
Push-Location $path
try {
$safeDirectory = (Get-Location).Path
git config --global --add safe.directory $safeDirectory
git fetch
git rebase origin/master
}
finally {
Pop-Location
}
}
Write-Host "[+] Done"