update-cache-path.patch 591 B

1234567891011
  1. --- a/src/vs/platform/update/electron-main/updateService.win32.ts
  2. +++ b/src/vs/platform/update/electron-main/updateService.win32.ts
  3. @@ -55,7 +55,7 @@ export class Win32UpdateService extends AbstractUpdateService {
  4. @memoize
  5. get cachePath(): Promise<string> {
  6. - const result = path.join(tmpdir(), `vscode-update-${this.productService.target}-${process.arch}`);
  7. + const result = path.join(tmpdir(), `${this.productService.nameShort.toLowerCase()}-update-${this.productService.target}-${process.arch}`);
  8. return fs.promises.mkdir(result, { recursive: true }).then(() => result);
  9. }