Bläddra i källkod

Use `applicationName` for update cache path (#765)

Liwen Guo 3 år sedan
förälder
incheckning
e1b4583cf9
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      patches/update-cache-path.patch

+ 1 - 1
patches/update-cache-path.patch

@@ -7,7 +7,7 @@ index 93424ca..133657e 100644
  	@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}`);
++		const result = path.join(tmpdir(), `${this.productService.applicationName}-update-${this.productService.target}-${process.arch}`);
  		return pfs.Promises.mkdir(result, { recursive: true }).then(() => result);
  	}