AlphaConsole / AlphaConsoleElectron

AlphaConsole Electron UI
121 stars 39 forks source link

Don't spam update check #69

Closed iamnoksio closed 4 years ago

test137E29B commented 4 years ago

Hello, thanks for the pr!

This wouldn't work fully as the application checks for an update automatically when it launches, and also the user can still click the button 10 times before the request for an update can be returned.

Also, those are just attaching event handlers, the if statement is useless in that scenario because the handlers are already attached to the auto update.

Set to true in check, set to false in no update, inside of check for updates before all if true then return;