mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-07-26 09:18:39 +00:00
cleanup logging
This commit is contained in:
@@ -224,7 +224,6 @@ ipcMain.on('setDevicePin', (event, arg) => {
|
||||
|
||||
// Autoupdate logic
|
||||
ipcMain.on('checkForUpdates', (event, arg)=>{
|
||||
console.log('main process told to check for updates')
|
||||
autoUpdater.checkForUpdates();
|
||||
})
|
||||
|
||||
|
||||
@@ -177,8 +177,6 @@ ipcRenderer.on('loadSlot', (event, slot) => {
|
||||
|
||||
// message from main process to set autoUpdate state
|
||||
ipcRenderer.on('setAutoUpdate',(event,autoUpdate)=>{
|
||||
console.log('setAutoUpdate called ')
|
||||
console.log(autoUpdate)
|
||||
localStorage.setItem('autoUpdate',autoUpdate);
|
||||
if(autoUpdate){
|
||||
ipcRenderer.send('checkForUpdates');
|
||||
|
||||
Reference in New Issue
Block a user