WebCord not starting because of Json input error
Aknowledgements
-
[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 reproduceable when WebCord is packaged on at least all three latest supported Electron major releases.
-
[ ] This issue is reproduceable 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).
-
[ ] There are no fixes done to
masterwhich 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
🐧️ Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
Electron 22
Application version
WebCord v4.1.1, stable build
Bug description
This error occurs since i last updated my arch linux based system (EndeavourOS) upon starting the application (I have upgraded 400 packages). Ive tried to start directly after boot and even restarted. I am not really more capable to tell more than the screenshot does.
Additional context
$ neofetch
./o. admindavid@davidscomputer
./sssso- -------------------------
`:osssssss+- OS: EndeavourOS Linux x86_64
`:+sssssssssso/. Host: ROG Zephyrus S17 GX703HSD_GX703HS 1.0
`-/ossssssssssssso/. Kernel: 6.1.28-1-lts
`-/+sssssssssssssssso+:` Uptime: 13 mins
`-:/+sssssssssssssssssso+/. Packages: 1209 (pacman), 6 (flatpak)
`.://osssssssssssssssssssso++- Shell: bash 5.1.16
.://+ssssssssssssssssssssssso++: Resolution: 2560x1440
.:///ossssssssssssssssssssssssso++: DE: GNOME 44.1
`:////ssssssssssssssssssssssssssso+++. WM: Mutter
`-////+ssssssssssssssssssssssssssso++++- WM Theme: Adwaita
`..-+oosssssssssssssssssssssssso+++++/` Theme: Sweet-Dark-v40 [GTK2/3]
./++++++++++++++++++++++++++++++/:. Icons: Qogir-dark [GTK2/3]
`:::::::::::::::::::::::::------`` Terminal: gnome-terminal
CPU: 11th Gen Intel i9-11900H (16) @ 4.800GHz
GPU: NVIDIA GeForce RTX 3080 Mobile / Max-Q 8GB/16GB
GPU: Intel TigerLake-H GT1 [UHD Graphics]
Memory: 2696MiB / 31778MiB
I use Wayland as my Windowing System.
The mentioned version is outdated and this bug is already a duplicate of #360. I've somewhat fixed the cause of it, but WebCord might still crash if given file is not of JSON format.