Use path directly

This commit is contained in:
Florian Rappl
2026-06-07 14:48:07 +02:00
parent a18944d4a4
commit 1ec84cfef0

View File

@@ -380,7 +380,7 @@
<Message Importance="High" Text="Electron setup failed!" Condition="'$(ExecExitCode)' != '0'" />
<PropertyGroup>
<_NpmCmd>npx install-electron</_NpmCmd>
<_NpmCmd>node node_modules/electron/install.js</_NpmCmd>
<!-- Add cross-platform parameters when there's a platform mismatch (for remote debugging preparation) -->
<_NpmCmd Condition="'$(_IsPlatformMismatch)' == 'true'">$(_NpmCmd) --os=$(NpmOs) --cpu=$(NpmCpu) --arch=$(NpmCpu) --platform=$(NpmOs)</_NpmCmd>
<_NpmCmd Condition="'$(IsLinuxWsl)' == 'true'">wsl bash -ic '$(_NpmCmd)'</_NpmCmd>