Merge remote-tracking branch 'origin/main' into workshop-angaben-tls-windows
# Conflicts: # README.md
This commit is contained in:
commit
2626abb0dc
3 files changed
+50
-29
No files matched your search
@@ -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