mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-12-18 10:25:54 +01:00
16 lines
332 B
JavaScript
16 lines
332 B
JavaScript
import { app, ipcMain } from 'electron'
|
|
|
|
import updater from './updater/index.js'
|
|
import handles from './handles/index.js'
|
|
import tray from './tray/index.js'
|
|
|
|
export default (mainWindow) => {
|
|
ipcMain.on('restart-app', () => {
|
|
app.relaunch()
|
|
app.quit()
|
|
})
|
|
handles(mainWindow)
|
|
updater(mainWindow)
|
|
tray(mainWindow)
|
|
}
|