portapps / whatsapp-portable

🚀 WhatsApp portable for Windows
https://portapps.io/app/whatsapp-portable/
MIT License
57 stars 30 forks source link

JavaScript error when new update available #42

Open TobinskiGitHub opened 2 years ago

TobinskiGitHub commented 2 years ago

Hi!

I have still the same problem with 2.2134.10-32 like bevor. I already change the folder to store WhatsApp, but the same issue occur again.

image

Logs

`Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:118 > -------- Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:119 > Operating System: Windows 10.0.18363 Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:120 > Starting WhatsApp 2.2134.10-32 (portapps 3.3.1)... Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:121 > Release date: 2021/10/13 02:44:15 Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:122 > Publisher: CrazyMax (https://github.com/portapps/whatsapp-portable) Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:123 > Root path: C:\06-Download\whatsapp-portable-win64-2.2134.10-32 Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:127 > Configuration: common: disable_log: false args: [] env: {} app_path: "" app: cleanup: false

Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:167 > Process: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:168 > Args (config file): Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:169 > Args (cmd line): Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:170 > Args (hardcoded): --user-data-dir=C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:171 > Working dir: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app\app-2.2134.10 Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:172 > App path: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:173 > Data path: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:174 > Previous path: Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:180 > Launching WhatsApp Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:190 > Exec C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe --user-data-dir=C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data

Wed, 13 Oct 2021 09:29:49 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:211 > Closing WhatsApp `

caspertone2003 commented 2 years ago

Same here. Installed also in a fresh Virtual Machine. No go. CT

alienfactor commented 2 years ago

Same here (using Windows 10 Pro): whatsapp

Joe-LEV commented 2 years ago

Unfortunately same here....

Solofandek commented 2 years ago

Here's a temporary fix !

  1. Go to the official Whatsapp install folder AppData\Local\WhatsApp\app-2.2134.10 and copy "resources" folder.

  2. Past or replace the resources folder that you copied into the Portable installation whatsapp-portable-win64-2.2132.6-31\app\app-2.2132.6

  3. Enjoy !

Joe-LEV commented 2 years ago

does not work, same java error as before

Solofandek commented 2 years ago

The latest update from crazy-max 2.2134.10-32 didn't work for me either, I had to do the same fix I showed earlier !

schneidermayer commented 2 years ago

I downloaded the last working version 2.2123.7-30 and copied not only resources but the whole folder. In my case whatsapp was installed from the Microsoft Store and its location was under C:\Program Files\WindowsApps (hidden folder). So working now.

Other than that, It seems the app is unable to update itself, stuck in an infite loop while trying. Is this a confirmed issue?

crazy-max commented 2 years ago

Ok found the issue. Looks like this error is triggered when there is a new update available.

caspertone2003 commented 2 years ago

For me the WA=WorkAround ;-) works, but had to delete the "resources" folder installed by WWA-portable before (don´t understand why but that was so..., perhaps I had any remnant o previous malfunction, or I had to re-run the .exe twice for it to work. So, if it does not work at first copy/overwrite, try it)

Here's a temporary fix !

1. Go to the official Whatsapp install folder _`AppData\Local\WhatsApp\app-2.2134.10`_ and copy "resources" folder.

2. Past or replace the resources folder that you copied into the Portable installation _`whatsapp-portable-win64-2.2132.6-31\app\app-2.2132.6`_

3. Enjoy !
BaeShtark commented 2 years ago

Same problem. Just waiting for fix 🙏

stenootje commented 2 years ago
schneidermayer commented 2 years ago

@stenootje try https://github.com/portapps/whatsapp-portable/issues/42#issuecomment-945629429

PwrSrg commented 2 years ago

SAME issue here.

I also had the same issue as @caspertone2003, and had to completely DELETE the resources folder BEFORE copying over the other one.

Too bad we can't simply pass in something like updates=0 in the shortcut. That would be MUCH simpler.

For me the WA=WorkAround ;-) works, but had to delete the "resources" folder installed by WWA-portable before (don´t understand why but that was so..., perhaps I had any remnant o previous malfunction, or I had to re-run the .exe twice for it to work. So, if it does not work at first copy/overwrite, try it)

Here's a temporary fix !

1. Go to the official Whatsapp install folder _`AppData\Local\WhatsApp\app-2.2134.10`_ and copy "resources" folder.

2. Past or replace the resources folder that you copied into the Portable installation _`whatsapp-portable-win64-2.2132.6-31\app\app-2.2132.6`_

3. Enjoy !
DjDiabolik commented 2 years ago

I have made a completely clean install.......... first try to run whatsapp-portable.exe and it's not works.

I have look the suggested temporary fix but it's say to install the official version.... if i install it the portable setup it's be optional :)

EDIT The actual Whatsappsetup from official site it's contain a version "WhatsApp-2.2144.11-full.nupkg". You can obtain this file (apparently it's a basic zip file) if you extract the official setup whit a tools like "Universal Extractor".

Apparently all files it's be located here (after extraction): \WhatsAppSetup\WhatsApp-2.2144.11-full\lib\net45

I have tryed to copy all this files to whatsapp-portable\app\app-2.2134.10..... but it's not works.

hurameshe commented 2 years ago

Download https://github.com/portapps/whatsapp-portable/releases/tag/2.2134.10-32 and install Delete resource folder in "Portable whatsapp\app\app-2.2134.10\"

  1. Download last official whatsapp build: https://web.whatsapp.com/desktop/windows/ "win8 64-bit works in windows 10 too"
  2. 7-zip right click Extract WhatsAppSetup.exe
  3. Enter in extracted WhatsAppSetup folder
  4. 7-zip right click Extract "WhatsApp-2.2147.16-full.nupkg"
  5. Enter in extracted WhatsApp-2.2147.16-full\lib\net45
  6. Copy "resources" folder
  7. Paste in to Portable whatsapp\app\app-2.2134.10
  8. Run whatsapp-portable.exe Works great for me! thank you @caspertone2003
DjDiabolik commented 2 years ago

@hurameshe it's the same way i do... apparently for me it's not works..... DOH :(

EDIT Also.... apparently your report link for official WA build it's not anymore valid...... apparently now it's here: https://web.whatsapp.com/desktop/windows/release/x64/WhatsAppSetup.exe

hurameshe commented 2 years ago

@hurameshe it's the same way i do... apparently for me it's not works..... DOH :(

EDIT Also.... apparently your report link for official WA build it's not anymore valid...... apparently now it's here: https://web.whatsapp.com/desktop/windows/release/x64/WhatsAppSetup.exe

More detailed information, I hope you find another solution if this information below is not useful to you.

I'm using windows 10 pro 64bit, Ryzen 5 3600 and java enviromment paths: C:\Program Files (x86)\Common Files\Oracle\Java\javapath C:\Program Files\Common Files\Oracle\Java\javapath

C:>java --version openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment Microsoft-25199 (build 11.0.12+7) OpenJDK 64-Bit Server VM Microsoft-25199 (build 11.0.12+7, mixed mode)

DjDiabolik commented 2 years ago

@hurameshe mmmm interesting.... i don't remember if i have the java environment installed on my windows 10 :)

Need to check.....

midium81 commented 2 years ago

@hurameshe solution works for me

SWxEng commented 2 years ago

@crazy-max I have a problem and where is the solution ?

DarkCapital commented 2 years ago

Download https://github.com/portapps/whatsapp-portable/releases/tag/2.2134.10-32 and install

. Delete ALL FILES from "whatsapp portable\app\app-2.2134.10" folder

. Download the latest official version of whatsapp: https://web.whatsapp.com/desktop/windows/

(win8 64-bit also works on windows 10)

.. 7-zip right click Extract WhatsAppSetup.exe

... Enter the extracted WhatsAppSetup folder

.... 7-zip right click Extract "WhatsApp-2.2147.16-full.nupkg"

..... Enter WhatsApp-2.2147.16-full\lib\net45 extracted

. Copy ALL FILES FROM net45 folder

. Paste ALL COPIED FILES into "whatsapp\app\app-2.2134.10" folder

. Run whatsapp-portable.exe

. It worked really well for me!

. thanks @caspertone2003

. thanks @hurameshe

SWxEng commented 2 years ago

@DarkCapital

Why is it so difficult ? . Long and I didn't like it . It is a portable program that is supposed to transfer flash

DarkCapital commented 2 years ago

@DarkCapital

Why is it so difficult ? . Long and I didn't like it . It is a portable program that is supposed to transfer flash

I also think it should be like this....

But the official whataspp has created more and more difficulties to avoid hacking and that includes imposing restrictions on the creation of the portable version...

It's not the fault of whoever created the portable app, but of Zuckeberg's company...

SWxEng commented 2 years ago

@DarkCapital OK Thank You

Aybee5 commented 2 years ago

I follow the step above and I am now able to open the app, but I can't find voice call and video call on the app, anyone experiencing same thing?

caspertone2003 commented 2 years ago

@crazy-max How can we help? I am happy to help testing but have no coding background CT

crazy-max commented 2 years ago

Can you try the artifact available at https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 and let me know?

caspertone2003 commented 2 years ago

Can you try the artifact available at https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 and let me know?

Works a treat! Unzipped, local installed, go go go ...

I am not sure if it was just a local quirk, I had to authenticate twice with the mobile app.

Thanks for keeping portapss WA portable alive and kicking!!

CT

crti commented 2 years ago

Can you try the artifact available at https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 and let me know?

Wow the 2.2210.9-33 version included seems to work fine also here. Even two instances in the same Windows! Double QR Scan/Login seems to be a new "WhatsApp for Desktop feature". By one test QR Scan/Login was not necessary with every startup, which was a problem in Portables from other sources. So I would be happy if Meta/WhatsApp would allow this to run for some months. Thx @crazy-max

karsarsputniK commented 2 years ago

Привет!

У меня все та же проблема с 2.2134.10-32 как и у бевора. Я уже изменил папку для хранения WhatsApp, но та же проблема возникает снова.

изображение

Журналы

`Ср, 13 октября 2021 г., 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:118 > -- ------ Ср, 13 октября 2021 г., 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:119 > Операционная система: Windows 10.0.18363 Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:120 > Запуск WhatsApp 2.2134 .10-32 (portapps 3.3.1)... Ср, 13 октября 2021 г., 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:121 > Дата выпуска: 2021/10/13 02:44:15 Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:122 > Издатель: CrazyMax ( https://github.com/portapps/whatsapp-portable ) Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:123 > Корневой путь: C:\06-Скачать\whatsapp-portable-win64-2.2134.10-32 Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:127 > Конфигурация: общий: отключить_журнал: ложь аргументы: [] окружение: {} путь_приложения: "" приложение: очистка: ложь

Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:167 > Процесс: C :\06-Загрузить\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:168 > Args (config файл): Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:169 > Args (cmd линия): Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:170 > Args (жестко закодированные ): --user-data-dir=C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:171 > Рабочий каталог: C:\06-Загрузить\whatsapp-portable-win64-2.2134.10-32\приложение\приложение-2.2134.10 Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:172 > Путь к приложению: C:\06-Скачать\whatsapp-portable-win64-2.2134.10-32\приложение Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:173 > Путь к данным: C:\06-Скачать\whatsapp-portable-win64-2.2134.10-32\данные Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:174 > Предыдущий путь: Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:180 > Запуск WhatsApp Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:190 > Exec C: \06-Загрузить\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe --user-data-dir=C:\06-Загрузить\whatsapp-portable-win64-2.2134.10-32\data

Wed, 13 Oct 2021 09:29:49 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.3.1\portapps.go:211 > Закрытие WhatsApp `

karsarsputniK commented 2 years ago

Люди будем двигаться к обнове, что топать по мёртвому телу

DjDiabolik commented 2 years ago

@karsarsputniK english english...........

peymanity commented 2 years ago

@crazy-max - sounds like the PR worked from the comments? but can't access the artefact now. is it ready to merge?

kaitou1412 commented 2 years ago

i'm sorry, but how to use this file?

Can you try the artifact available at https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 and let me know?

caspertone2003 commented 1 year ago

@crazy-max

Hi, workaround portable version (from https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 ) stopped to work (besides, it is not available anymore)

https://github.com/portapps/whatsapp-portable/pull/50 is not providing a release .exe file

Are we orphan? stand off? dead-project?

TIA

CrimsonVex commented 1 year ago

Update to this?

nicoleahmed commented 1 year ago

Hi the artefact for 2.2210.9 is expired now - does anyone have the artifact file from https://github.com/portapps/whatsapp-portable/actions/runs/2093325874

or alternatively we can see the build.properties and build.xml file changes - I'm just not sure how to make this into an installer...

for now im using the portable4pc version which is actually working well

LiberiFatali commented 1 year ago

Hi the artefact for 2.2210.9 is expired now - does anyone have the artifact file from https://github.com/portapps/whatsapp-portable/actions/runs/2093325874

or alternatively we can see the build.properties and build.xml file changes - I'm just not sure how to make this into an installer...

for now im using the portable4pc version which is actually working well

You can fork the repo and build from update branch. I built one: https://github.com/LiberiFatali/whatsapp-portable/actions/runs/4954227617

Aybee5 commented 1 year ago

Hi the artefact for 2.2210.9 is expired now - does anyone have the artifact file from https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 or alternatively we can see the build.properties and build.xml file changes - I'm just not sure how to make this into an installer... for now im using the portable4pc version which is actually working well

You can fork the repo and build from update branch. I built one: https://github.com/LiberiFatali/whatsapp-portable/actions/runs/4954227617

Does this version support WhatsApp call features?

caspertone2003 commented 1 year ago

@LiberiFatali

You can fork the repo and build from update branch. I built one: https://github.com/LiberiFatali/whatsapp-portable/actions/runs/4954227617

For those of us with very limited knowledge of github, besides cloning the repo, is there any change one has to do? Only build from the update branch? I tried doing it and asked questions such as if mergin branches or mergin pull requests... I was blocked there...

TIA

LiberiFatali commented 1 year ago

@caspertone2003

  1. Fistly, you need to fork the repo (see the below image) github_fork_button

  2. Then go to Action -> build -> Run workflow and choose "update" branch github_action_build

viveksh1 commented 1 year ago

Any update on merging the PR?

caspertone2003 commented 1 year ago

@LiberiFatali

@caspertone2003

1. Fistly, you need to fork the repo (see the below image)

Thanks a lot!

From my tests I believe one has to unmark "fork only master branch"

caspertone2003 commented 1 year ago

Above work-around seems to have stopped working. Perhaps my bad fingers or due to changes in the code that the developer introduced recently... Pending further tests.

bilalazhar72 commented 1 year ago

can some one specify which latest version is working for you guys

KirigayaKazutoSAO commented 1 year ago

has their been any updates to this?... appstore is bugged so i cant download the latest version

bilalazhar72 commented 1 year ago

has their been any updates to this?... appstore is bugged so i cant download the latest version

what operating system are you using

Gevaarlijk commented 11 months ago

Have the same problem. Is this softyware being worked on or is it dead?

KirigayaKazutoSAO commented 11 months ago

I'm using Windows 10 22H2 and cannot download WhatsApp because Windows 10's app store is bugged whatsap windows store error