testing auto update
This commit is contained in:
parent
ce0e7af363
commit
451e0380ac
3 changed files with 3 additions and 7 deletions
|
|
@ -22,6 +22,7 @@ build:
|
|||
name: $CI_COMMIT_REF_SLUG
|
||||
paths:
|
||||
- dist_electron/*.dmg
|
||||
- dist_electron/*.zip
|
||||
- dist_electron/*.yml
|
||||
when: on_success
|
||||
only:
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue