It only ignores CommandOrControl + R, but when I press CommandOrControl + Shift + R it still reloads the page.
// Default open or close DevTools by F12 in development
// and ignore CommandOrControl + R in production.
// see https://github.com/alex8088/electron-toolkit/tree/master/packages/utils
app.on('browser-window-created', (_, window) => {
optimizer.watchWindowShortcuts(window)
})
Describe the bug
I use optimzer from @electron-toolkit/utils
It only ignores CommandOrControl + R, but when I press CommandOrControl + Shift + R it still reloads the page.
How can I avoid CommandOrControl + Shift + R?
Electron-Toolkit Version
^2.0.1
Electron Version
27.0.1
Validations