vscodium/patches/update-cache-path.patch

10 lines
794 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
2024-08-12 13:04:31 +03:00
index a2561be..a50958e 100644
--- a/src/vs/platform/update/electron-main/updateService.win32.ts
+++ b/src/vs/platform/update/electron-main/updateService.win32.ts
2024-08-12 13:04:31 +03:00
@@ -56,3 +56,3 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun
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}`);
2024-08-12 13:04:31 +03:00
return fs.promises.mkdir(result, { recursive: true }).then(() => result);