The latest version of Electron will throw out an error with GNOME:
Running (process:10985): Gtk-ERROR **: 16:23:58.349: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
This commit applies the workaround mentioned here and here.