J'ai whatsapp sur mon téléphone portable et je voudrais l'installer sous mon opensuse. J’ai trouvé un site (https://www.techcroute.com/comment-utiliser-whatsapp-sous-linux/) qui semblait pouvoir me guider.
J’ai effectué les premières étapes avec les lignes de commandes indiquées sur ce site :
1- Installer NODE et NPM
2- Installer Nativefier
3- Télécharger une icône pour notre application whatsApp
Puis je suis arrivée à la 4ème étape de leur explication :
4- Générer votre propre application WhatsApp pour Linux.
Au début cela a semblé fonctionner pour les commandes « mkdir -p whatsapp-build » dans tmp et « wget https://raw.githubusercontent.com/DocBox12/WhatsApp-nativefier-fix/master/whatsapp_fix.js ».
Mais quand j’ai voulu effectuer la commande suivante qu’ils proposent « nativefier -p linux -a x64 -i ~/icon.png –inject whatsapp_fix.js –single-instance https://web.whatsapp.com/ » dans le dossier whatsapp-build, j’obtiens la réponse suivante :
**URL "–inject" lacks a protocol. Will try to parse it as HTTPS: "https://–inject". Please pass "http://–inject" if this is what you meant.
Unable to automatically determine app name, falling back to 'APP'. Reason: Error: getaddrinfo ENOTFOUND xn--inject-vg0c
Preparing Electron app...
Converting icons...
Error during build. Run with --verbose for details. [
[Error: ENOENT: no such file or directory, lstat '/root/icon.png'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/root/icon.png'
}**
Et donc je suis perdue car je ne comprends pas ce que c’est que l’error « getaddrinfo ENOTFOUND xn--inject-vg0c »
Y-a-t-il une autre façon pour installer whatsapp ?