Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 1f634a9

Browse files
committed
[:hammer:] Fixed Dialog spam error
1 parent d11a58c commit 1f634a9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

main/background.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ if (isProd) {
4747
await app.whenReady();
4848

4949
if(isProd) {
50+
autoUpdater.checkForUpdates()
5051
setInterval(() => {
5152
autoUpdater.checkForUpdates()
52-
}, 10000)
53+
}, 1000*60*5)
5354
}
5455

5556
const splashWindow = createWindow('splash', {
@@ -74,7 +75,7 @@ if (isProd) {
7475

7576
setInterval(() => {
7677
if (mainWindow) mainWindow.webContents.send('update-version', app.getVersion())
77-
}, 1000)
78+
}, 5000)
7879

7980
ipcMain.on('open-main', () => {
8081
mainWindow.show()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"name": "lock-pass",
44
"description": "A simple password manager",
5-
"version": "1.1.0",
5+
"version": "1.1.1",
66
"author": "Nemika Hajbour <nemika@bytestobits.dev>",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)