test: finalize managed runtime release smoke

This commit is contained in:
Andrey Avtomonov 2026-05-11 11:40:35 +02:00
parent ed00c9a0a3
commit b493f43412
4 changed files with 26 additions and 3 deletions

View file

@ -119,6 +119,9 @@ function defaultAssetDir(): string {
}
function runtimeRootFor(input: Required<Pick<ManagedPythonRuntimeLayoutOptions, 'platform' | 'env' | 'homeDir'>>): string {
if (input.env.KTX_RUNTIME_ROOT) {
return input.env.KTX_RUNTIME_ROOT;
}
if (input.platform === 'darwin') {
return join(input.homeDir, 'Library', 'Application Support', 'kaelio', 'ktx', 'runtime');
}