mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-12-18 18:35:55 +01:00
13 lines
355 B
JavaScript
13 lines
355 B
JavaScript
// import { globalShortcut } from 'electron'
|
|
|
|
export default (mainWindow) => {
|
|
// mainWindow.on('focus', () => {
|
|
// globalShortcut.register('CommandOrControl+F', (event) => {
|
|
// mainWindow.webContents.send('focus-on-search')
|
|
// })
|
|
// })
|
|
// mainWindow.on('blur', () => {
|
|
// globalShortcut.unregister('CommandOrControl+F')
|
|
// })
|
|
}
|