chore(macos): expose remote test helper
parent
920cc9ac38
commit
02fe19effa
|
|
@ -501,7 +501,7 @@ extension GeneralSettings {
|
||||||
}
|
}
|
||||||
|
|
||||||
@MainActor
|
@MainActor
|
||||||
private func testRemote() async {
|
func testRemote() async {
|
||||||
self.remoteStatus = .checking
|
self.remoteStatus = .checking
|
||||||
let settings = CommandResolver.connectionSettings()
|
let settings = CommandResolver.connectionSettings()
|
||||||
guard !settings.target.isEmpty else {
|
guard !settings.target.isEmpty else {
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,6 @@ function isProfileDecorated(
|
||||||
|
|
||||||
return nameOk && localSeedOk && prefOk;
|
return nameOk && localSeedOk && prefOk;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Best-effort profile decoration (name + lobster-orange). Chrome preference keys
|
* Best-effort profile decoration (name + lobster-orange). Chrome preference keys
|
||||||
* vary by version; we keep this conservative and idempotent.
|
* vary by version; we keep this conservative and idempotent.
|
||||||
|
|
@ -417,7 +416,6 @@ export async function launchClawdChrome(
|
||||||
}
|
}
|
||||||
|
|
||||||
const proc = spawnOnce();
|
const proc = spawnOnce();
|
||||||
|
|
||||||
// Wait for CDP to come up.
|
// Wait for CDP to come up.
|
||||||
const readyDeadline = Date.now() + 15_000;
|
const readyDeadline = Date.now() + 15_000;
|
||||||
while (Date.now() < readyDeadline) {
|
while (Date.now() < readyDeadline) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue