D4koon / WhatsappTray

Minimize Whatsapp Desktop-Client to Tray
GNU General Public License v3.0
387 stars 32 forks source link

Infinite update #139

Open AganinIvan opened 1 year ago

AganinIvan commented 1 year ago

Describe the bug If there is no running whatsapp and we try to start it together with starting the whatsapp tray - a mistake occurs, saying there was a whatsapp restart needed, and then goes infinite "whatsapp update". In case I break it and go whatsapp app I get kicked out of my account and need to rescan the qr and so on. Of course, all the same happens in case of the auto-launch with windows.

Possibly only from Russia, but a rough guess says – not only.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.whatsapp.com/download/
  2. Click on 'Get it from microsoft'
  3. Install official whatsapp client from microsoft store
  4. Go to https://github.com/D4koon/WhatsappTray/releases
  5. Download and Install WhatsappTrayV1.9.0.0.exe
  6. Launch official whatsapp client by clicking the corresponding icon in windows start menu
  7. Log in via scanning qr with smartphone
  8. Launch WhatsappTray

    IT ALL WORKS FINE


  9. Close Whatsapp client
  10. Launch Whatsapp client
  11. Launch WhatsappTray

    AGAIN - IT ALL WORKS FINE BUT NOW:


  12. Close Whatsapp client
  13. Launch WhatsappTray at once (bypassing the launch of the official client) - OR - same thing happens itself when staring up Windows with "Launch on windows startup" setting "on")

and here we go - the infinite update process is initiated and i'm being kicked out of my whatsapp account and the client asks me to scan qr again. If i close the tray and start the client - I'm unlogged. Tried different versions of whatsapp tray.

Expected behavior The tray starts the official client without update and unlogging - just the same way as it happens when I launch the client itself.

Screenshots 2022-09-06_19-58-40

Desktop (please complete the following information):

Log file when the bug happend Log_2022-09-06_20#26#54.txt Log_2022-09-06_20#27#13.txt