Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Use native archive lookup paths in the Windows ASAR fixture

wyt6f2158b31303
diff --git a/test/main/quality/operator-policy-asar.test.ts b/test/main/quality/operator-policy-asar.test.ts
index 2fa12a14..97a2e704 100644
--- a/test/main/quality/operator-policy-asar.test.ts
+++ b/test/main/quality/operator-policy-asar.test.ts
@@ -33,7 +33,7 @@ describe('operator policy packaged runtime', () => {
// Windows must not read or remove the fixture until that close completes.
const output = await createPackageWithOptions(stage, archive, { unpack: `{${unpack.join(',')}}` });
await finished(output);
- expect(statFile(archive, 'src/main/quality/operator-worker.js').unpacked).not.toBe(true);
+ expect(statFile(archive, path.join('src', 'main', 'quality', 'operator-worker.js')).unpacked).not.toBe(true);
const launcher = path.join(root, 'launch.cjs');
fs.writeFileSync(launcher, `
require('node:module').createRequire(require('node:path').join(__dirname, 'app.asar', 'entry.cjs'))('tsx/cjs');