Skip to content

Commit 3498928

Browse files
authored
Merge pull request #18 from codefuse-ai/fix/auto-update-init
fix: set initialized after init
2 parents 616d9b8 + b95d7b0 commit 3498928

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)