UPD: Reduce nanoSerialApi list interval
This commit is contained in:
@@ -184,7 +184,7 @@ app.whenReady().then(() => {
|
|||||||
|
|
||||||
Menu.setApplicationMenu(menu)
|
Menu.setApplicationMenu(menu)
|
||||||
//mainWindow.webContents.openDevTools()
|
//mainWindow.webContents.openDevTools()
|
||||||
setInterval(() => nanoSerialApi._list(), 1000)
|
setInterval(() => nanoSerialApi._list(), 500)
|
||||||
|
|
||||||
app.on('activate', function () {
|
app.on('activate', function () {
|
||||||
// On macOS it's common to re-create a window in the app when the
|
// On macOS it's common to re-create a window in the app when the
|
||||||
|
|||||||
Reference in New Issue
Block a user