Ремонт WhatsApp works with Google Chrome 36+

Данный фикс найден на https://community.linuxmint.com/software/view/whatsapp-desktop
To get it working again we must go to «/opt/whatsapp-desktop/resources/app» and edit the file «main.js» as root and look for the line that says:

whatsApp.window.loadURL('https://web.whatsapp.com');

Выше найденной строки добавляем:

whatsApp.window.webContents.setUserAgent("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36");

And we save the file Then we go to «/home/myuser/.config/whatsapp-desktop/Service Worker» directory and empty it completely. Close Wathsapp application if we have it open and open a super user console and execute the command:

chmod -w /home/myuser/.config/whatsapp-desktop/Service Worker/ -R

with the application closed and the directory empty. Start Whatsapp desktop and pair again. I hope it serves you. Sorry for my English. I use a translator

Добавить комментарий