fix(mobile): route phone APIs to selected profile and unblock runtime readiness
ci / mobile-link-windows (push) Successful in 30s
ci / approval-gate-windows (push) Successful in 46s
ci / mobile-link-windows (push) Successful in 30s
ci / approval-gate-windows (push) Successful in 46s
This commit is contained in:
@@ -109,5 +109,13 @@ export async function runPrimaryBackendStartup<Backend, RuntimeBackend, Remote,
|
||||
throw new FirstRunSetupResetError()
|
||||
}
|
||||
|
||||
if (decision === 'runtime-ready') {
|
||||
const current = await prepareLocalBackend()
|
||||
if ((current as { kind?: string }).kind === 'bootstrap-needed') {
|
||||
throw new Error('The completed local runtime is no longer available. Retry setup.')
|
||||
}
|
||||
return { kind: 'local', backend: await ensureLocalRuntime(current) }
|
||||
}
|
||||
|
||||
return { kind: 'local', backend: await ensureLocalRuntime(backend) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user