Skip to content

Commit

Permalink
fix(windows): disable background update for MSI (#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam authored Nov 13, 2023
1 parent fbeaf45 commit dfc41b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions patches/update-msi.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts
index 99bf807..b5b4333 100644
--- a/src/vs/platform/update/electron-main/updateService.win32.ts
+++ b/src/vs/platform/update/electron-main/updateService.win32.ts
@@ -156,3 +156,3 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun
}).then(packagePath => {
- const fastUpdatesEnabled = this.configurationService.getValue('update.enableWindowsBackgroundUpdates');
+ const fastUpdatesEnabled = getUpdateType() == UpdateType.Setup && this.configurationService.getValue('update.enableWindowsBackgroundUpdates');

0 comments on commit dfc41b2

Please sign in to comment.