Skip to content

Commit

Permalink
fix(appx): add * to copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jul 16, 2024
1 parent c695c0d commit 0d1b0dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/playbook/Configuration/atlas/appx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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*'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0d1b0dd

Please sign in to comment.