Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Spawn the second packaged copy from packedApp

Fei24115d52d8ef0f6f
diff --git a/app/scripts/check-packed.mjs b/app/scripts/check-packed.mjs
index 39453f91..328c5df3 100644
--- a/app/scripts/check-packed.mjs
+++ b/app/scripts/check-packed.mjs
@@ -334,7 +334,7 @@ try {
console.log('check-packed: the window is hidden and the Host goes on')
// Starting the app again brings the window back; the second copy ends at once, because the
// first one holds the lock.
- const second = spawn(runnable, [`--remote-debugging-port=${String(await freePort())}`], { stdio: 'ignore', env })
+ const second = spawn(packedApp, [`--remote-debugging-port=${String(await freePort())}`], { stdio: 'ignore', env })
children.push(second)
const secondExit = await Promise.race([new Promise((done) => { second.once('exit', (code) => { done(code) }) }), sleep(30_000).then(() => undefined)])
if (secondExit === undefined) throw new Error('the second copy of the app did not end')