vscodium/patches/update-cache-path.patch

14 lines
757 B
Diff
Raw Normal View History

2021-06-12 17:53:56 -04:00
diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts
index 93424ca..133657e 100644
--- a/src/vs/platform/update/electron-main/updateService.win32.ts
+++ b/src/vs/platform/update/electron-main/updateService.win32.ts
2021-06-12 17:53:56 -04:00
@@ -53,7 +53,7 @@ export class Win32UpdateService extends AbstractUpdateService {
2019-12-08 18:19:44 -05:00
@memoize
get cachePath(): Promise<string> {
- const result = path.join(tmpdir(), `vscode-update-${this.productService.target}-${process.arch}`);
+ const result = path.join(tmpdir(), `${this.productService.nameShort.toLowerCase()}-update-${this.productService.target}-${process.arch}`);
2021-06-12 17:53:56 -04:00
return pfs.Promises.mkdir(result, { recursive: true }).then(() => result);
}