disable mac updates

This commit is contained in:
Alexander Drozdov
2020-03-19 13:47:50 +02:00
parent 316fd1d3e0
commit a009cade93
+2
View File
@@ -25,6 +25,8 @@ autoUpdater.on('update-not-available', () => {
})
export async function checkForUpdates (manual: boolean = false) {
if (process.platform === 'darwin') return
_manual = manual
autoUpdater.checkForUpdatesAndNotify()