From e1b4583cf9c548f664271b68a3a12f0c01cabc34 Mon Sep 17 00:00:00 2001 From: Liwen Guo Date: Sat, 17 Jul 2021 01:37:07 +0200 Subject: [PATCH] Use `applicationName` for update cache path (#765) --- patches/update-cache-path.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/update-cache-path.patch b/patches/update-cache-path.patch index 2000831..15673db 100644 --- a/patches/update-cache-path.patch +++ b/patches/update-cache-path.patch @@ -7,7 +7,7 @@ index 93424ca..133657e 100644 @memoize get cachePath(): Promise { - 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}`); ++ const result = path.join(tmpdir(), `${this.productService.applicationName}-update-${this.productService.target}-${process.arch}`); return pfs.Promises.mkdir(result, { recursive: true }).then(() => result); }