testing auto update

This commit is contained in:
Andrew Gundersen 2021-04-16 13:42:46 -05:00
commit 451e0380ac
3 changed files with 3 additions and 7 deletions

View file

@ -22,6 +22,7 @@ build:
name: $CI_COMMIT_REF_SLUG
paths:
- dist_electron/*.dmg
- dist_electron/*.zip
- dist_electron/*.yml
when: on_success
only:

View file

@ -1,6 +1,6 @@
{
"name": "Crimata",
"version": "0.9.7",
"version": "0.9.8",
"private": true,
"description": "Cross-platform messenger application built with electron, vue3, and TS.",
"author": {

View file

@ -58,12 +58,7 @@ export function initApp(dev: boolean): void {
// On initial startup.
app.on("ready", () => {
// Check for updates every 2min.
setInterval(() => {
autoUpdater.checkForUpdates()
}, 5000) // 5s for development.
autoUpdater.checkForUpdates()
main()
});