@devries-cameron20 / t3code-1 / commits / 44d91c5484
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

test(scripts): identify the Windows native probe by executable (#21774)

Utkarsh Patil committed Oct 31, 2026 at 20:18 UTC 44d91c5484da443da9b83c3ba6a80e236601a51c
1 file changed +4 -1
scripts/build-desktop-artifact.test.ts
+4 -1
@@ -1150,7 +1150,10 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
1150 });
1151
1152 assert.isFalse(
1153 - commands.some((command) => command.options.env?.ELECTRON_RUN_AS_NODE === "1"),
1153 + commands.some(
1154 + (command) =>
1155 + command.command === NodePath.join(fixture.packagedAppDir, fixture.appExecutableName),
1156 + ),
1157 );
1158 assert.isTrue(
1159 commands.some(