I was unable to build the package, as a source file was missing:
sed: can't read /home/q/AUR/whatsapp-nativefier/src/whats-app-linux-x64/resources/app/lib/preload.js: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Removing sed -i -e "/loglevel/d" "${srcdir}/${_folder}/resources/app/lib/preload.js"
from the PKGBUILD fixed it for me.
Pinned Comments
matejdro commented on 2023-10-06 04:51 (UTC)
Warning to all existing users: Nativefier is now unmaintained (https://github.com/nativefier/nativefier/issues/1577)
frealgagu commented on 2020-12-05 22:39 (UTC)
I maintain the latest built package at:
https://github.com/frealgagu/archlinux.whatsapp-nativefier/releases/
saulocastelo commented on 2020-03-29 10:46 (UTC)
Hey guys,
I created the original fix.
And now I share another way to use whatsapp web on nativefier. No code injection required.
Pressing ctrl+shift+i (on Linux) and the Devtools window will open. Then click on Application -> Service Workers And check the option Bypass for network.
Now press ctrl+r to reload. And ctrl+shift+i to close the Devtools.
Whenever you open your whatsapp the problem will occur, but since the Bypass for network option has already been enabled, you only need to press ctrl+shift+i (open devtools), ctrl+r (reload), ctrl+shift+i (close devtools)
@frealgagu, thanks for your work. This package was in my list as one of required apps to be installed after install Arch. I saw your last update ( document.querySelector("a[href='https://support.google.com/chrome/answer/95414']") ), NICE/GREAT/GOOD!
Another way to do the same in 2 lines: document.querySelector("a[href='https://support.google.com/chrome/answer/95414']") && navigator.serviceWorker.getRegistration().then(r => r.unregister() && document.location.reload());