mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-13 20:28:18 +10:00
fix(update): avoid extra connection on manual mode (#2597)
This commit is contained in:
@@ -49,7 +49,7 @@ index 199f433..a6cbb10 100644
|
||||
+ | "user";
|
||||
\ No newline at end of file
|
||||
diff --git a/src/vs/platform/update/electron-main/abstractUpdateService.ts b/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
||||
index 48d0d86..840b9d3 100644
|
||||
index 48d0d86..d16dce7 100644
|
||||
--- a/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
||||
+++ b/src/vs/platform/update/electron-main/abstractUpdateService.ts
|
||||
@@ -14,6 +14,10 @@ import { IProductService } from '../../product/common/productService.js';
|
||||
@@ -66,6 +66,11 @@ index 48d0d86..840b9d3 100644
|
||||
+ return `${productService.updateUrl}/${quality}/${platform}/${architecture}/latest.json`;
|
||||
+ }
|
||||
}
|
||||
@@ -203,3 +207,3 @@ export abstract class AbstractUpdateService implements IUpdateService {
|
||||
|
||||
- if (mode === 'none') {
|
||||
+ if (mode === 'none' || mode === 'manual') {
|
||||
return false;
|
||||
diff --git a/src/vs/platform/update/electron-main/updateService.darwin.ts b/src/vs/platform/update/electron-main/updateService.darwin.ts
|
||||
index b78ebc5..a4a3b1d 100644
|
||||
--- a/src/vs/platform/update/electron-main/updateService.darwin.ts
|
||||
|
||||
Reference in New Issue
Block a user