mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
product.portableTemp
This commit is contained in:
@@ -24,7 +24,7 @@ function getPortableDataPath() {
|
||||
return path.join(path.dirname(getApplicationPath()), product.portable);
|
||||
}
|
||||
|
||||
if (product.portable) {
|
||||
if (product.portable && product.portableTemp) {
|
||||
const portablePath = getPortableDataPath();
|
||||
try { fs.mkdirSync(portablePath); } catch (err) { if (err.code !== 'EEXIST') { throw err; } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user