Merge remote-tracking branch 'origin/main' into workshop-angaben-tls-windows
# Conflicts: # README.md
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user