SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.92k stars 95 forks source link

config.json gets overridden/replaced with default values on launch #536

Closed Varauk closed 5 months ago

Varauk commented 5 months ago

Acknowledgements

Operating System / Platform

🪟️ Windows

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

v30.0.2

Application version

v4.9.0

Bug description

Launching WebCord v4.9.0 resets the values in config.json (AppData/Roaming/WebCord/config.json) back to default values. Happens in all cases: a) upgrading from v4.8.0 b) deleting AppData/Roaming/WebCord beforehand c) when running in a clean windows 10 sandbox.

Steps to reproduce:

Additional context

https://github.com/SpacingBat3/WebCord/assets/35373497/e5e7af79-8d23-418c-a9c8-63e6e18b712d

Windows 10 Sandbox demo (WebCord-win32-x64-4.9.0.zip)

jtmr05 commented 5 months ago

similar behavior on Manjaro, using WebCord 4.9.0-1 (packaged as webcord-bin on the AUR)

dabster291 commented 5 months ago

similar behavior on Manjaro, using WebCord 4.9.0-1 (packaged as webcord-bin on the AUR)

Also happening on EndeavourOS using 4.9.0.r955.22d0e27-1 (packaged as webcord-git on the AUR)