destroyMainWindow = () => {
    const mainWindow = BrowserWindow.getAllWindows()[0]

    mainWindow.destroy()
}
@param {string | Electron.NativeImage} icon
@param {string | Electron.NativeImage} trayIcon