revert electron to gtk 3 (#923)

This commit is contained in:
jeffvli 2025-05-07 01:28:54 -07:00
parent 9a59ce3613
commit 58f6535ba6

View file

@ -494,6 +494,9 @@ const createWindow = async (first = true) => {
app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,MediaSessionService');
// https://github.com/electron/electron/issues/46538#issuecomment-2808806722
app.commandLine.appendSwitch('gtk-version', '3');
// Must duplicate with the one in renderer process settings.store.ts
enum BindingActions {
GLOBAL_SEARCH = 'globalSearch',