install.ps1 aktualisiert

This commit is contained in:
2026-04-25 19:50:24 +02:00
parent 1ef0016965
commit 8227483580

View File

@@ -1485,10 +1485,6 @@ function Main {
Generate-Passwords
# Resolve to absolute path NOW.
# [System.IO.File]::WriteAllText uses .NET's Environment.CurrentDirectory,
# which differs from PowerShell's $PWD on Windows (e.g. resolves ./cameleer
# to C:\Users\Hendrik\cameleer instead of the script's working directory).
# GetUnresolvedProviderPathFromPSPath always uses PowerShell's current location.
$script:cfg.InstallDir = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(
$script:cfg.InstallDir)