Merge remote-tracking branch 'origin/main' into workshop-angaben-tls-windows

# Conflicts:
#	README.md
This commit is contained in:
hkoeck
2026-05-31 22:47:17 +02:00
3 changed files with 50 additions and 29 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ if (-not (Get-Command wsl.exe -ErrorAction SilentlyContinue)) {
}
$repoWinPath = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path
$repoWslPath = (& wsl.exe wslpath -a "$repoWinPath").Trim()
$drive = $repoWinPath[0].ToString().ToLower()
$repoWslPath = "/mnt/$drive/" + $repoWinPath.Substring(3) -replace '\\', '/'
if (-not $repoWslPath) {
Write-Error "Konnte den WSL Pfad fuer das Repo nicht ermitteln."