Fix workshop script WSL path conversion and convert scripts to Unix line endings; update README with installation instructions

This commit is contained in:
GitHub Copilot
2026-03-28 14:28:31 +01:00
parent 1739810044
commit c49774d629
2 changed files with 19 additions and 2 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."