WebCord icon indicating copy to clipboard operation
WebCord copied to clipboard

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

Open Varauk opened this issue 1 year ago • 1 comments

Acknowledgements

  • [X] I have checked that there is no other issue describing the same or similar problem that I currently have, regardless if it has been closed or open.

  • [ ] This bug affects Discord website.

  • [ ] This issue is confirmed to be reproducible when WebCord is packaged on at least all three latest supported Electron major releases.

  • [ ] This issue is reproducible in Chrome, Chromium or any Chromium-based browser, e.g Brave or Edge (please write in Additional Context which browser you have used if it is neither Chrome nor unmodified Chromium).

  • [X] There are no fixes done to master which resolves this issue.

  • [ ] My issue describes one of the unstable and/or not fully implemented features.

  • [ ] I have found a workaround to mitigate or temporarily fix this issue in affected releases (please write it in Additional context section below).

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:

  • run webcord.exe
  • open settings, tick "Hide menu bar automatically"
  • close webcord completely (also quit in tray) and restart, or just go File > Relaunch
  • Menu bar is visible again, opening settings reveals unticked checkbox

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)

Varauk avatar May 03 '24 12:05 Varauk

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

jtmr05 avatar May 03 '24 15:05 jtmr05

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)

dabster291 avatar May 03 '24 20:05 dabster291