Skip to content

Commit 44d91c5

Browse files
test(scripts): identify the Windows native probe by executable (#21774)
1 parent b970bcb commit 44d91c5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎scripts/build-desktop-artifact.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,10 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
11501150
});
11511151

11521152
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+
),
11541157
);
11551158
assert.isTrue(
11561159
commands.some(

0 commit comments

Comments
 (0)