install.ps1 aktualisiert
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user