From 0d1b0dd9a532d0e36b0831cfe071530ae7f457ec Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Tue, 16 Jul 2024 19:05:42 +0100 Subject: [PATCH] fix(appx): add * to copilot --- src/playbook/Configuration/atlas/appx.yml | 3 ++- .../Microsoft Copilot/Enable Microsoft Copilot.cmd | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/playbook/Configuration/atlas/appx.yml b/src/playbook/Configuration/atlas/appx.yml index e924aaa445..204c0c4bb7 100644 --- a/src/playbook/Configuration/atlas/appx.yml +++ b/src/playbook/Configuration/atlas/appx.yml @@ -31,7 +31,7 @@ actions: - !taskKill: {name: 'ms-teams*', ignoreErrors: true} - !appx: {name: 'MSTeams*', type: family} # 24H2 Copilot app - - !appx: {name: 'Microsoft.Copilot', type: family} + - !appx: {name: 'Microsoft.Copilot*', type: family} # Other apps - !appx: {name: 'Clipchamp.Clipchamp*', type: family} @@ -86,6 +86,7 @@ actions: wait: true # Clear caches of Client.CBS and more + # Start menu cache is cleared later - !writeStatus: {status: 'Clearing AppX caches'} - !appx: {operation: clearCache, name: '*MicrosoftWindows.Client.CBS*'} - !appx: {operation: clearCache, name: '*Microsoft.Windows.Search*'} diff --git a/src/playbook/Executables/AtlasDesktop/3. General Configuration/Microsoft Copilot/Enable Microsoft Copilot.cmd b/src/playbook/Executables/AtlasDesktop/3. General Configuration/Microsoft Copilot/Enable Microsoft Copilot.cmd index 6861997081..1e134f3b54 100644 --- a/src/playbook/Executables/AtlasDesktop/3. General Configuration/Microsoft Copilot/Enable Microsoft Copilot.cmd +++ b/src/playbook/Executables/AtlasDesktop/3. General Configuration/Microsoft Copilot/Enable Microsoft Copilot.cmd @@ -20,7 +20,7 @@ echo] echo Enabling Copilot... :: Decide if Copilot is avaliable -:: If not, it could be 24H2 (which replaces it with an app +:: If not, it could be 24H2 (which replaces it with an app) reg query HKCU\Software\Microsoft\Windows\Shell\Copilot /v IsCopilotAvailable 2>&1 | find "0x0" > nul if %errorlevel%==0 (call :app) else (reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d "1" /f > nul)