Package Details: whatsapp-nativefier 2.2337.7-1

Git Clone URL: https://aur.archlinux.org/whatsapp-nativefier.git (read-only, click to copy)
Package Base: whatsapp-nativefier
Description: WhatsApp desktop built with nativefier (electron)
Upstream URL: https://web.whatsapp.com
Licenses: custom
Submitter: frealgagu
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 135
Popularity: 0.90
First Submitted: 2018-12-14 22:30 (UTC)
Last Updated: 2023-09-08 19:25 (UTC)

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());

Latest Comments

« First ‹ Previous 1 .. 21 22 23 24 25 26

singing_kettle commented on 2018-07-02 19:04 (UTC)

When I attempt to update, makepkg attempts to download a tarball from dropbox (https://www.dropbox.com/s/azeqhinhdwurn8s/WhatsApp-v0.5.0-linux-x64.tar.gz) - which fails.

aytekinar commented on 2018-06-05 10:05 (UTC)

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,51 +6,43 @@ arch=('i686' 'x86_64')
 url="https://web.whatsapp.com"
 license=('unknown')
 depends=('alsa-lib' 'gconf' 'gtk2' 'libxss' 'libxtst' 'nss')
-makedepends=('nodejs-nativefier')
+makedepends=('npm')
 provides=('whatsapp-desktop')
 source=('whatsapp-web-desktop.png'
         'whatsapp-web-desktop.desktop'
-   'whatsapp-web-desktop.sh')
+        'whatsapp-web-desktop.sh')

 build() {
    cd $srcdir

-   nativefier web.whatsapp.com \
-       --name "whats-app" \
-       --disable-context-menu \
-       --disable-dev-tools \
-       --width 700px \
-       --height 700px \
-       -i "../$pkgname.png"
+  npm install nativefier
+   ./node_modules/.bin/nativefier web.whatsapp.com \
+    --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/$pkgname.sh" "$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/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
 }

-md5sums=('30ddc7f3e4c4acf46e698909fc8c37b6'
-         'b5b89ccd54a6e2ee7c8dfbaa21b223d5'
-         '78a9b5d6119cc5ccbc80df46c0c9d5ef')
-sha1sums=('47a4d26ed68125e77e7519c2a6c484d98b058ee2'
-          'eca6674f60349b59870ec098a7463258bc49ce8d'
-          'bff4262d17d6d13e7c5a0bea87960ebea3fc6189')
 sha256sums=('bf127917f50f8a4e4c9f217c7227cc0fe07783b186ae15d747f950f67ed9180d'
             'd08d57702dfcab2d3b37d7f3ef9a59955fe2432063fe5b6d91df999af609754b'
             'a3cb0c1c2f6f9fd574cdfc7e08814c3f7908bc4543ace8f3427d4636ddba9c29')
-sha512sums=('8e0c4742be68c7122eeb43c3b7318ceb3198f1a493798af51e27d11e92dea8f9dacf3a7ca39223da9ec017a6f476f3066cf62df7e2c3baacf72fb13d827c3706'
-            '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 (UTC) (edited on 2018-05-12 06:01 (UTC) by jfernandz)

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

https://extensions.gnome.org/extension/615/appindicator-support/

Here the specific opened issue:

https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/130

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

https://aur.archlinux.org/pkgbase/whatsapp-desktop/?comments=all

EDIT2: Ok, here is the explanation: https://github.com/Enrico204/Whatsapp-Desktop

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 (UTC)

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: libXss.so.1: cannot open shared object file: No such file or directory /opt/whatsapp-web/WhatsApp: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

gamezelda commented on 2017-04-25 18:16 (UTC)

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 (UTC)

Doesn't build ==> Starting build()... Downloading electron-v1.1.3-linux-x64.zip [============================================>] 100.0% of 40.4 MB (289.59 kB/s) /usr/lib/node_modules/nativefier/node_modules/progress/lib/node-progress.js:177 this.stream.clearLine(); ^ TypeError: this.stream.clearLine 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(). Aborting... ==> 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...