vscodium/patches/update-cache-path.patch

10 lines
778 B
Diff
Raw Normal View History

2021-06-12 21:53:56 +00:00
diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts
2023-05-28 21:07:30 +00:00
index d45291e..74d4080 100644
--- a/src/vs/platform/update/electron-main/updateService.win32.ts
+++ b/src/vs/platform/update/electron-main/updateService.win32.ts
2023-05-28 21:07:30 +00:00
@@ -55,3 +55,3 @@ export class Win32UpdateService extends AbstractUpdateService {
2019-12-08 23:19:44 +00:00
get cachePath(): Promise<string> {
2023-05-28 21:07:30 +00:00
- const result = path.join(tmpdir(), `vscode-${this.productService.quality}-${this.productService.target}-${process.arch}`);
+ const result = path.join(tmpdir(), `${this.productService.applicationName}-${this.productService.quality}-${this.productService.target}-${process.arch}`);
2021-06-12 21:53:56 +00:00
return pfs.Promises.mkdir(result, { recursive: true }).then(() => result);