Skip to content

Commit 535d415

Browse files
test(scripts): identify the Windows native probe by executable
1 parent 6575ce3 commit 535d415

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
@@ -1149,7 +1149,10 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
11491149
});
11501150

11511151
assert.isFalse(
1152-
commands.some((command) => command.options.env?.ELECTRON_RUN_AS_NODE === "1"),
1152+
commands.some(
1153+
(command) =>
1154+
command.command === NodePath.join(fixture.packagedAppDir, fixture.appExecutableName),
1155+
),
11531156
);
11541157
assert.isTrue(
11551158
commands.some(

0 commit comments

Comments
 (0)