Set POSH_THEME to full path

This commit is contained in:
Manuel Thalmann 2024-10-12 01:52:34 +02:00
parent eb65199fb1
commit d1076f9b2d

View file

@ -65,7 +65,7 @@ Start-SoftwareInstaller @args `
}
if ($IsWindows) {
[System.Environment]::SetEnvironmentVariable($varName, "%AppData%/$([System.IO.Path]::GetRelativePath($env:AppData, $theme))", "User");
[System.Environment]::SetEnvironmentVariable($varName, $theme, "User");
}
else {
. "$PSScriptRoot/../aliae/Manage.ps1";