diff --git a/install.ps1 b/install.ps1 index 5b71089..29b8cd2 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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)