From 89d310264bb36c9e1e2afb1080504898136c2949 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:34:47 +0100 Subject: [PATCH] fix(newUsers): use set-thememru --- src/playbook/Executables/AtlasModules/Scripts/newUsers.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/playbook/Executables/AtlasModules/Scripts/newUsers.ps1 b/src/playbook/Executables/AtlasModules/Scripts/newUsers.ps1 index c82df087c0..51d3dbbc26 100644 --- a/src/playbook/Executables/AtlasModules/Scripts/newUsers.ps1 +++ b/src/playbook/Executables/AtlasModules/Scripts/newUsers.ps1 @@ -1,4 +1,5 @@ $windir = [Environment]::GetFolderPath('Windows') +& "$windir\AtlasModules\initPowerShell.ps1" $atlasDesktop = "$windir\AtlasDesktop" $atlasModules = "$windir\AtlasModules" @@ -21,7 +22,7 @@ if ([System.Environment]::OSVersion.Version.Build -ge 22000) { reg import "$atlasDesktop\4. Interface Tweaks\File Explorer Customization\Gallery\Disable Gallery (default).reg" *>$null # Set ThemeMRU (recent themes) - ThemeMRU | Out-Null + Set-ThemeMRU | Out-Null } # Set lockscreen wallpaper