New uninstall method

This commit is contained in:
ModernTTY 2024-04-17 16:43:31 +03:00 committed by GitHub
parent dcd6a4e2db
commit e16987eea9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2293,8 +2293,7 @@
"Order": "a025_",
"InvokeScript": [
"
Remove-AppxPackage \"Microsoft.Windows.Ai.Copilot.Provider\"
Remove-AppxPackage \"MicrosoftWindows.Client.CoPilot\"
Get-AppxPackage *copilot* | Remove-AppxPackage
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"0\"
"
],