Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.4.930 in w10 whats v2.2023.2 - not working anymore #253

Open
ascrs opened this issue Jun 12, 2020 · 19 comments
Open

v0.4.930 in w10 whats v2.2023.2 - not working anymore #253

ascrs opened this issue Jun 12, 2020 · 19 comments

Comments

@ascrs
Copy link

ascrs commented Jun 12, 2020

After updating the app on w10, it was dark mode. I tried to reinstall and then it became a worse mess. Too bad ...
whatsappweb

@octvs
Copy link

octvs commented Jun 12, 2020

Same here w/ macOS

@vdeniet
Copy link

vdeniet commented Jun 12, 2020

Same here w/ macOS

Here also

@firefinchdev
Copy link

I made a fork which is working.
https://github.com/firefinchdev/whatsapp-desktop-dark
You can use it until it is merged in this repo.

@TheJokerArtZ
Copy link

I made a fork which is working.
https://github.com/firefinchdev/whatsapp-desktop-dark
You can use it until it is merged in this repo.

your fix does not work for me

@octvs
Copy link

octvs commented Jun 14, 2020

I made a fork which is working.
https://github.com/firefinchdev/whatsapp-desktop-dark
You can use it until it is merged in this repo.

It worked for me on macOS Catalina

@captaindooley
Copy link

Thank you, this fix worked for me.

@rogeriskira
Copy link

I made a fork which is working.
https://github.com/firefinchdev/whatsapp-desktop-dark
You can use it until it is merged in this repo.

your fix does not work for me

It worked for me as well. Did you follow his instructions after it was installed? Go to Settings>Chats>Theme> Choose "Dark"

@guitexa
Copy link

guitexa commented Jun 16, 2020

It worked well for me, since I've go to Settings > Chats > Theme > Choose "Dark"

Thanks @firefinchdev 🙏

whatsdark

@JVDL-1
Copy link

JVDL-1 commented Jun 17, 2020

Thanks this worked!

@1800Kon
Copy link

1800Kon commented Jun 21, 2020

I made a fork which is working.
https://github.com/firefinchdev/whatsapp-desktop-dark
You can use it until it is merged in this repo.

This fix works perfectly!

@candestep
Copy link

It worked well for me, since I've go to Settings > Chats > Theme > Choose "Dark"

Thanks @firefinchdev 🙏

whatsdark

Where is this "Choose Dark" option? I'm using W10, but I can't find it anywhere in the Whatsapp application.

@1800Kon
Copy link

1800Kon commented Jun 27, 2020

@candestep click the 3 dots on the top left and then settings > theme > dark
image
D

image

@candestep
Copy link

@KBG360 is that only available after installing the version by firefinchdev? https://github.com/firefinchdev/whatsapp-desktop-dark

My application does show the Theme option. I'm using Whatsapp 2.2025.7 by the way, and it is not the Microsoft Store version.

@firefinchdev
Copy link

@candestep Yes

@candestep
Copy link

@firefinchdev could you please help me? I'm new using Git, and I'm getting the following error when trying to install your package:

14012 verbose stack Error: [email protected] postinstall: node scripts/install.js
14012 verbose stack Exit status 1
14012 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
14012 verbose stack at EventEmitter.emit (events.js:315:20)
14012 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
14012 verbose stack at ChildProcess.emit (events.js:315:20)
14012 verbose stack at maybeClose (internal/child_process.js:1021:16)
14012 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14013 verbose pkgid [email protected]
14014 verbose cwd C:\Users\Israel Candelario\projects\whatsapp-desktop-dark
14015 verbose Windows_NT 10.0.18363
14016 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
14017 verbose node v12.18.1
14018 verbose npm v6.14.5
14019 error code ELIFECYCLE
14020 error errno 1
14021 error [email protected] postinstall: node scripts/install.js
14021 error Exit status 1
14022 error Failed at the [email protected] postinstall script.
14022 error This is probably not a problem with npm. There is likely additional logging output above.
14023 verbose exit [ 1, true ]

Attached the error in the logs if that's helpful:
2020-06-27T22_39_47_040Z-debug.log

@firefinchdev
Copy link

Open package.json and remove resource hacker

@candestep
Copy link

Open package.json and remove resource hacker

Removed the whole devDependecies object inside package.json that contained the work "resourcehacker". Installation progressed a little more but failed. This is what I got:

C:\Users\Israel Candelario\projects\whatsapp-desktop-dark>npm install
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated

[email protected] postinstall C:\Users\Israel Candelario\projects\whatsapp-desktop-dark\node_modules\resourcehacker
node scripts/install.js

Downloading ResourceHacker by Angus Johnson...
_http_client.js:140
let expectedProtocol = defaultAgent.protocol;
^

TypeError: Cannot read property 'protocol' of undefined
at new ClientRequest (_http_client.js:140:39)
at request (http.js:46:10)
at Object.get (http.js:50:15)
at Object. (C:\Users\Israel Candelario\projects\whatsapp-desktop-dark\node_modules\resourcehacker\scripts\install.js:23:20)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Israel Candelario\AppData\Roaming\npm-cache_logs\2020-06-27T23_25_29_285Z-debug.log

@firefinchdev
Copy link

You only need to remove resource hacker, not entire devDependencies. By the way, if you are not comfortable with all this manual build, pre build binaries are available. Just go though the Readme of the fork.

@candestep
Copy link

... thank you.

Used the prebuild and worked like a charm. Not sure why I thought I needed to go through the manual process, good learning experience anyway.

Thank you so much for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests