Skip to content

Commit b95d7b0

Browse files
committed
fix: set initialized after init
1 parent 42802f7 commit b95d7b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/auto-updater/electron-main/auto-updater.service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export class AutoUpdaterService {
128128

129129
init() {
130130
if (this.#initialized) return
131+
this.#initialized = true
131132
autoUpdater.autoDownload = false
132133
autoUpdater.disableDifferentialDownload = true
133134
autoUpdater.logger = this.logger;

0 commit comments

Comments
 (0)