Package Details: whatsapp-nativefier 2.2142.12-1

Git Clone URL: (read-only, click to copy)
Package Base: whatsapp-nativefier
Description: WhatsApp desktop built with nativefier (electron)
Upstream URL:
Licenses: custom
Submitter: frealgagu
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 111
Popularity: 4.04
First Submitted: 2018-12-14 22:30
Last Updated: 2021-11-02 21:01

Pinned Comments

frealgagu commented on 2020-12-05 22:39

I maintain the latest built package at:

saulocastelo commented on 2020-03-29 10:46

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='']") ), NICE/GREAT/GOOD!

Another way to do the same in 2 lines: document.querySelector("a[href='']") && navigator.serviceWorker.getRegistration().then(r => r.unregister() && document.location.reload());

Latest Comments

« First ‹ Previous ... 16 17 18 19 20 21

aytekinar commented on 2018-06-05 10:05

I have cleaned the PKGBUILD a bit, if you want. I have kept only the sha256sums, removed dependency on another AUR package (nativefier), and replaced it with npm. Below is the patch:

diff --git a/PKGBUILD b/PKGBUILD
index 7fe574e..f04ff57 100644
@@ -7,51 +6,43 @@ arch=('i686' 'x86_64')
 depends=('alsa-lib' 'gconf' 'gtk2' 'libxss' 'libxtst' 'nss')
-   '')
+        '')

 build() {
    cd $srcdir

-   nativefier \
-       --name "whats-app" \
-       --disable-context-menu \
-       --disable-dev-tools \
-       --width 700px \
-       --height 700px \
-       -i "../$pkgname.png"
+  npm install nativefier
+   ./node_modules/.bin/nativefier \
+    --name "whats-app" \
+    --disable-context-menu \
+    --disable-dev-tools \
+    --width 700px \
+    --height 700px \
+    -i "../$pkgname.png"

-   rm -rf whats-app
-   mv whats-app-* WhatsApp
-   mv WhatsApp/whats-app WhatsApp/WhatsApp
+  rm -rf whats-app
+  mv whats-app-* WhatsApp
+  mv WhatsApp/whats-app WhatsApp/WhatsApp

 package() {
-   install -dm755 "$pkgdir/opt/whatsapp-web"
-   install -dm755 "$pkgdir/usr/bin/"
-   install -dm755 "$pkgdir/usr/share/pixmaps/"
-   install -dm755 "$pkgdir/usr/share/applications/"
+  install -dm755 "$pkgdir/opt/whatsapp-web"
+  install -dm755 "$pkgdir/usr/bin/"
+  install -dm755 "$pkgdir/usr/share/pixmaps/"
+  install -dm755 "$pkgdir/usr/share/applications/"

-   cp -R "$srcdir/WhatsApp/." "$pkgdir/opt/whatsapp-web/"
-   chmod 755 "$pkgdir/opt/whatsapp-web/resources/app"
+  cp -R "$srcdir/WhatsApp/." "$pkgdir/opt/whatsapp-web/"
+  chmod 755 "$pkgdir/opt/whatsapp-web/resources/app"

-   install -Dm755 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
-   install -Dm755 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/whatsapp.png"
-   install -Dm755 "$srcdir/$" "$pkgdir/usr/bin/$pkgname"
+  install -Dm755 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm755 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/whatsapp.png"
+  install -Dm755 "$srcdir/$" "$pkgdir/usr/bin/$pkgname"

-         'b5b89ccd54a6e2ee7c8dfbaa21b223d5'
-         '78a9b5d6119cc5ccbc80df46c0c9d5ef')
-          'eca6674f60349b59870ec098a7463258bc49ce8d'
-          'bff4262d17d6d13e7c5a0bea87960ebea3fc6189')
-            'a1c392b8a7a7045c3f955384be1eefb0ce51d781b656223ccbaffaeb939ba1fbebf4c4085fbc03f52bc24743208455cedc8f4e5b1d10e3885c150082bb585191'
-            '7c39adb302df5fbf5a222fd2ad623d348db0c6240069215f11547e072b96e65e363db5bd93d5a25075eab97c15567e89a3825d9b73fe9425e6176032e049c8a0')

I have tested on my laptop with makepkg --syncdeps --install --clean --cleanbuild --rmdeps and it is working properly. Please feel free to introduce the changes.

jfernandz commented on 2018-05-12 05:48

Your whatsapp package is not able to show the tray icon using this gnome extension

Here the specific opened issue:

EDIT: Apparently this is not the package which I've got installed, I've got installed whatsapp-desktop, but is not availabe at the day ... anyone has got more info? I would swear I've upgraded this whatsapp-desktop package recently

EDIT2: Ok, here is the explanation:

Im sorry.

EDIT3: In any case, ... would you consider the suggestion about add system tray icon support? Thank you :-)

vesath commented on 2017-09-03 21:57

Please create a depends array with (at least): alsa-lib, gconf, gtk2, libxss, libxtst, and nss.

Without one of those dependencies you get errors like:

/opt/whatsapp-web/WhatsApp: error while loading shared libraries: cannot open shared object file: No such file or directory

/opt/whatsapp-web/WhatsApp: error while loading shared libraries: cannot open shared object file: No such file or directory

gamezelda commented on 2017-04-25 18:16

Thanks, works great. Also a good template for custom nativefied packages.

OCD-level nitpicking (we're Linux users after all): The default window name (right after it launches, before the app. has loaded from the Internet) is 'whats-app', not 'WhatsApp'.

Alad commented on 2016-12-08 15:58

Doesn't build

==> Starting build()...
[============================================>] 100.0% of 40.4 MB (289.59 kB/s)

TypeError: is not a function
at ProgressBar.terminate (/usr/lib/node_modules/nativefier/node_modules/progress/lib/node-progress.js:177:17)
at ProgressBar.tick (/usr/lib/node_modules/nativefier/node_modules/progress/lib/node-progress.js:91:10)
at DishonestProgress.tick (/source/helpers/dishonestProgress.js:35:22)
at /source/build/buildMain.js:80:22
at fn (/usr/lib/node_modules/nativefier/node_modules/async/lib/async.js:746:34)
at /usr/lib/node_modules/nativefier/node_modules/async/lib/async.js:1213:16
at /usr/lib/node_modules/nativefier/node_modules/async/lib/async.js:166:37
at /usr/lib/node_modules/nativefier/node_modules/async/lib/async.js:706:43
at /usr/lib/node_modules/nativefier/node_modules/async/lib/async.js:167:37
at /usr/lib/node_modules/nativefier/node_modules/async/lib/async.js:1209:30
at /source/build/buildMain.js:76:17
at /usr/lib/node_modules/nativefier/node_modules/electron-packager/index.js:266:7
at end (/usr/lib/node_modules/nativefier/node_modules/run-series/index.js:8:15)
at done (/usr/lib/node_modules/nativefier/node_modules/run-series/index.js:11:10)
at each (/usr/lib/node_modules/nativefier/node_modules/run-series/index.js:16:43)
at Object.finalizeApp [as moveApp] (/usr/lib/node_modules/nativefier/node_modules/electron-packager/common.js:286:7)
==> ERROR: A failure occurred in build().
==> Removing installed dependencies...
checking dependencies...

Package (6) Old Version Net Change

http-parser 2.7.1-1 -0,07 MiB
libuv 1.10.1-1 -0,37 MiB
nodejs 7.1.0-1 -17,82 MiB
nodejs-nativefier 7.0.1-1 -23,26 MiB
npm 4.0.2-1 -12,17 MiB
semver 5.3.0-1 -0,10 MiB

Total Removed Size: 53,79 MiB

:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
removing nodejs-nativefier...
removing npm...
removing semver...
removing nodejs...
removing libuv...
removing http-parser...