MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / hostBundle

Function hostBundle

e2e/setup/desktop-linux.globalsetup.ts:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29const appDir = fileURLToPath(new URL("../../apps/desktop/", import.meta.url));
30const hostBundle = () => {
31 // electron-builder names the dir `linux-<arch>-unpacked` for non-x64.
32 const dir = join(appDir, "dist", "linux-arm64-unpacked");
33 return {
34 dir,
35 exe: join(dir, "executor-desktop"),
36 executor: join(dir, "resources/executor/executor"),
37 };
38};
39
40/** Build the packaged linux-arm64 bundle if it isn't on disk. The `executor`
41 * binary is cross-compiled here via BUN_TARGET (same as the cli-linux lane);

Callers 2

ensureBundleFunction · 0.70
provisionLinuxFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected