mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): auto update check on windows (#8137)
turns out activate event is only available on macos
This commit is contained in:
@@ -142,7 +142,7 @@ export const registerUpdater = async () => {
|
||||
|
||||
// check update whenever the window is activated
|
||||
let lastCheckTime = 0;
|
||||
app.on('activate', () => {
|
||||
app.on('browser-window-focus', () => {
|
||||
(async () => {
|
||||
if (
|
||||
configured &&
|
||||
|
||||
Reference in New Issue
Block a user