mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
win32: update cache path per arch
This commit is contained in:
parent
c13647b80f
commit
c9cf1f51b3
|
@ -41,7 +41,7 @@ export class Win32AutoUpdaterImpl extends EventEmitter implements IAutoUpdater {
|
|||
}
|
||||
|
||||
get cachePath(): TPromise<string> {
|
||||
const result = path.join(tmpdir(), 'vscode-update');
|
||||
const result = path.join(tmpdir(), `vscode-update-${process.arch}`);
|
||||
return new TPromise<string>((c, e) => mkdirp(result, null, err => err ? e(err) : c(result)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue