fix: portable path in versioned layout (#279510)

This commit is contained in:
Robo
2025-11-26 18:12:15 +09:00
committed by GitHub
parent 68ee1a0e3b
commit aeeddb2b25

View File

@@ -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));
}