It seems that WhatsApp Desktop for Windows is now only available through the Windows App Store.
Version 2.2242.6.0
Accordingly, the installation path will be different.
The path for apps is:
C:\Programs\WindowsApps
Probably that is the reason because it no longer works