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

how can i make whatsapp tray work with store version of whatsapp on windows 11? #126

Open
ghost opened this issue Feb 5, 2022 · 5 comments

Comments

@ghost
Copy link

ghost commented Feb 5, 2022

how can i make whatsapp tray work with store version of whatsapp on windows 11?

@ghost
Copy link
Author

ghost commented Feb 5, 2022

maybe you can consider this as a bug

@JCAguilera
Copy link

JCAguilera commented Apr 20, 2022

It works with the store version, you just have to create a shorcut like this:

  1. Find the WhatsApp Desktop folder in C:/Program Files/WindowsApps (if there's multiple WhatsApp Desktop folders, use the one with more files in it).
  2. Go inside the WhatsApp Desktop folder, then go to the app folder and find WhatsApp.exe.
  3. Create a shorcut to WhatsApp.exe and place it in this directory %APPDATA%/Microsoft/Windows/Start Menu/Programs/WhatsApp.

It should work right away. Also, you should notice that if WhatsApp Desktop is updated, the folder may change, so you have to do this for every update.

If you want a more "automated" way to create the shorcut, you can use this script I made. Just install node.js in your machine and follow the instuctions.

@CarloHD
Copy link

CarloHD commented Aug 2, 2022

It works with the store version, you just have to create a shorcut like this:

With WhatsApp Beta doesn't work; Whatsapp Tray can start Whatsapp Beta (then the path is correct), but no icon on tray, the log say:

16:21:20.337 - WhatsappTray::StartWhatsapp: Starting WhatsApp from canonical-path:'C:\Program Files\WindowsApps\5319275A.51895FA4EA97F_2.2229.3.0_x64__cv1g1gvanyjgm\WhatsApp.exe'
16:21:21.339 - WhatsappTray::StartWhatsapp: WhatsApp-Window not found yet after 1000ms. Continue waiting ...
16:21:22.432 - WhatsappTray::StartWhatsapp: WhatsApp-Window not found yet after 1000ms. Continue waiting ...
16:21:23.570 - WhatsappTray::StartWhatsapp: WhatsApp-Window not found yet after 1000ms. Continue waiting ...
16:23:32.227 - WhatsappTray::StartWhatsapp: WhatsApp-Window not found yet after 1000ms. Continue waiting ...
16:23:37.569 - WhatsappTray::WndProc: WM_DESTROY
16:23:37.569 - WhatsappTray::WndProc: QuitMessage posted.

other log say:

16:36:38.413 - WhatsappTray::FindWhatsappWindowHandle: Found window with title: 'WhatsApp' hwnd=0x000206B2

@kipusoep
Copy link

@JCAguilera thanks for the tool. I couldn't access the WindowsApps folder and couldn't get permissions to do so. Your script helped me out :-)

@ghost
Copy link

ghost commented Oct 4, 2022

It works with the store version, you just have to create a shorcut like this:

  1. Find the WhatsApp Desktop folder in C:/Program Files/WindowsApps (if there's multiple WhatsApp Desktop folders, use the one with more files in it).
  2. Go inside the WhatsApp Desktop folder, then go to the app folder and find WhatsApp.exe.
  3. Create a shorcut to WhatsApp.exe and place it in this directory %APPDATA%/Microsoft/Windows/Start Menu/Programs/WhatsApp.

It should work right away. Also, you should notice that if WhatsApp Desktop is updated, the folder may change, so you have to do this for every update.

If you want a more "automated" way to create the shorcut, you can use this script I made. Just install node.js in your machine and follow the instuctions.

this was working for me after 22h2 and whatsapp latest update(they changed the whole application) it stopped working,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants