vscodium/patches/update-cache-path.patch

10 lines
778 B
Diff
Raw Normal View History

2021-06-13 00:53:56 +03: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-29 00:07:30 +03: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-29 00:07:30 +03:00
@@ -55,3 +55,3 @@ export class Win32UpdateService extends AbstractUpdateService {
2019-12-09 02:19:44 +03:00
get cachePath(): Promise<string> {
2023-05-29 00:07:30 +03: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-13 00:53:56 +03:00
return pfs.Promises.mkdir(result, { recursive: true }).then(() => result);