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
|
name: $CI_COMMIT_REF_SLUG
|
||||||
paths:
|
paths:
|
||||||
- dist_electron/*.dmg
|
- dist_electron/*.dmg
|
||||||
|
- dist_electron/*.zip
|
||||||
- dist_electron/*.yml
|
- dist_electron/*.yml
|
||||||
when: on_success
|
when: on_success
|
||||||
only:
|
only:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Crimata",
|
"name": "Crimata",
|
||||||
"version": "0.9.7",
|
"version": "0.9.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Cross-platform messenger application built with electron, vue3, and TS.",
|
"description": "Cross-platform messenger application built with electron, vue3, and TS.",
|
||||||
"author": {
|
"author": {
|
||||||
|
|
|
||||||
|
|
@ -58,12 +58,7 @@ export function initApp(dev: boolean): void {
|
||||||
|
|
||||||
// On initial startup.
|
// On initial startup.
|
||||||
app.on("ready", () => {
|
app.on("ready", () => {
|
||||||
|
autoUpdater.checkForUpdates()
|
||||||
// Check for updates every 2min.
|
|
||||||
setInterval(() => {
|
|
||||||
autoUpdater.checkForUpdates()
|
|
||||||
}, 5000) // 5s for development.
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue