Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Copilot button opens PWA; differentiation no longer possible #35

Open
valnoxy opened this issue Dec 22, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@valnoxy
Copy link
Owner

valnoxy commented Dec 22, 2024

In newer Windows versions, the Copilot bar has been replaced by the PWA app. This starts the same Edge call as when the PWA app is opened.

GoAwayEdge
-----
The following args are redirected (CTRL+C to copy):

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --app-id=khiogjgiicnghciboipemonlmgelhblf --app-fallback-url=https://copilot.microsoft.com/?dpwa=1 --display-mode=standalone --windows-store-app --ip-proc-id=33156 --ip-binding --mojo-named-platform-channel-pipe=33156.23580.10216639834704185426 --ip-aumid=Microsoft.Copilot_8wekyb3d8bbwe!App

Possible solutions:

  • Block PWA completely if an external application is specified.
  • Block and intercept Office app.
  • Install the Helper UWP app and store a reference under BrandedKey
    • See registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BrandedKey\AppAumid
@valnoxy valnoxy added the bug Something isn't working label Dec 22, 2024
@valnoxy valnoxy self-assigned this Dec 22, 2024
@valnoxy valnoxy mentioned this issue Dec 22, 2024
7 tasks
valnoxy added a commit that referenced this issue Dec 23, 2024
@valnoxy
Copy link
Owner Author

valnoxy commented Dec 23, 2024

I have now decided to use the helper app method. I provide the MSIX file here for testing. For the interception to work, the following registry key must be changed:

Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BrandedKey
String: AppAumid
Value: GoAwayEdge.Helper_fj5jbsx1xbame!App
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BrandedKey]
"BrandedKeyChoiceType"="App"
"AppAumid"="GoAwayEdge.Helper_fj5jbsx1xbame!App"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant