mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-24 11:47:43 +00:00
fix: portable path in versioned layout (#279510)
This commit is contained in:
@@ -142,6 +142,11 @@ export function configurePortable(product: Partial<IProductConfiguration>): { po
|
||||
return path.dirname(path.dirname(path.dirname(appRoot)));
|
||||
}
|
||||
|
||||
// appRoot = ..\Microsoft VS Code Insiders\<version>\resources\app
|
||||
if (process.platform === 'win32' && product.quality === 'insider') {
|
||||
return path.dirname(path.dirname(path.dirname(appRoot)));
|
||||
}
|
||||
|
||||
return path.dirname(path.dirname(appRoot));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user