enhancements

This commit is contained in:
Andrew Gundersen 2021-04-13 09:57:32 -05:00
commit 809ec5e05a
2 changed files with 5 additions and 6 deletions

View file

@ -2,7 +2,7 @@
"name": "Crimata", "name": "Crimata",
"productName": "Crimata Messenger", "productName": "Crimata Messenger",
"description": "Cross-platform messenger application built with electron, vue3, and TS.", "description": "Cross-platform messenger application built with electron, vue3, and TS.",
"version": "0.9.2", "version": "0.9.1",
"private": true, "private": true,
"author": { "author": {
"name": "Enrique Hernandez" "name": "Enrique Hernandez"

View file

@ -21,15 +21,14 @@ const isDev = require('electron-is-dev');
// NOTE Program Begins Here // NOTE Program Begins Here
(async () => { (async () => {
autoUpdater.requestHeaders = { 'PRIVATE-TOKEN': 'seMF_apn237iUw8puG9a' } autoUpdater.requestHeaders = { 'PRIVATE-TOKEN': 'seMF_apn237iUw8puG9a' }
autoUpdater.logger = log; autoUpdater.logger = log;
// Check for an update 10sec after Program Starts // Check for updates right away.
setTimeout(function () {
autoUpdater.checkForUpdatesAndNotify() autoUpdater.checkForUpdatesAndNotify()
}, 10000)
// Check for an update every 2min. // Then, every two minuntes...
setInterval(() => { setInterval(() => {
autoUpdater.checkForUpdatesAndNotify() autoUpdater.checkForUpdatesAndNotify()
}, 120000) }, 120000)