Skip to content

Commit 1ec84cf

Browse files
committed
Use path directly
1 parent a18944d commit 1ec84cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ElectronNET/build/ElectronNET.LateImport.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
<Message Importance="High" Text="Electron setup failed!" Condition="'$(ExecExitCode)' != '0'" />
381381

382382
<PropertyGroup>
383-
<_NpmCmd>npx install-electron</_NpmCmd>
383+
<_NpmCmd>node node_modules/electron/install.js</_NpmCmd>
384384
<!-- Add cross-platform parameters when there's a platform mismatch (for remote debugging preparation) -->
385385
<_NpmCmd Condition="'$(_IsPlatformMismatch)' == 'true'">$(_NpmCmd) --os=$(NpmOs) --cpu=$(NpmCpu) --arch=$(NpmCpu) --platform=$(NpmOs)</_NpmCmd>
386386
<_NpmCmd Condition="'$(IsLinuxWsl)' == 'true'">wsl bash -ic '$(_NpmCmd)'</_NpmCmd>

0 commit comments

Comments
 (0)