mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
feat(macos): add embedded CUA computer provider (#123635)
* feat(macos): embed CUA computer provider * fix(macos): clarify embedded CUA trust posture * fix(macos): contain embedded CUA daemon lifecycle * fix(macos): reap orphaned CUA daemons * fix(macos): record the spawned CUA daemon pid so reaping can terminate orphans * chore(macos): refresh native i18n baseline for the computer control provider picker * style(macos): satisfy swiftlint on the embedded CUA host and connect params * refactor(gateway): move optional connect params to GatewayConnectOptions
This commit is contained in:
committed by
GitHub
parent
0803505259
commit
19ace6830b
@@ -1342,6 +1342,29 @@ describe("package-mac-app plist stamping", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("stages the pinned universal CUA driver before nested-code signing", () => {
|
||||
const packageScript = readFileSync(scriptPath, "utf8");
|
||||
const stageScript = readFileSync("scripts/stage-cua-driver-macos.sh", "utf8");
|
||||
const codesignScript = readFileSync("scripts/codesign-mac-app.sh", "utf8");
|
||||
|
||||
expect(stageScript).toContain('TAG="cua-driver-rs-v${VERSION}"');
|
||||
expect(stageScript).toContain(
|
||||
'EXPECTED_SHA256="733e28a3782ac8d325f8fce8b5d97486c1054af755b40dfd086151b34c79377e"',
|
||||
);
|
||||
expect(packageScript).toContain(
|
||||
'"$ROOT_DIR/scripts/stage-cua-driver-macos.sh" "$APP_ROOT/Contents/Resources/cua-driver"',
|
||||
);
|
||||
expect(packageScript.indexOf("Staging embedded CUA driver")).toBeLessThan(
|
||||
packageScript.indexOf('echo "🔏 Signing bundle'),
|
||||
);
|
||||
expect(codesignScript).toContain(
|
||||
'echo "Signing embedded CUA driver"; sign_plain_item "$CUA_DRIVER"',
|
||||
);
|
||||
expect(codesignScript.indexOf("Signing embedded CUA driver")).toBeLessThan(
|
||||
codesignScript.indexOf("# Finally sign the bundle"),
|
||||
);
|
||||
});
|
||||
|
||||
it("does not mask required Info.plist stamp failures", () => {
|
||||
const script = readFileSync(scriptPath, "utf8");
|
||||
const stampBlock = script.slice(
|
||||
|
||||
Reference in New Issue
Block a user