Skip to content

Commit 9b4e0e4

Browse files
authored
Merge pull request #942 from softworkz/submit_outpath
electron-builder: Provide correct output path
2 parents ef41329 + d05191d commit 9b4e0e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ElectronNET/build/ElectronNET.LateImport.targets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@
344344
<PropertyGroup>
345345
<_OriginalPublishDir>$(PublishDir)</_OriginalPublishDir>
346346
<PublishDir>$(_OriginalPublishDir)bin\</PublishDir>
347-
<PublishUrl>$(PublishDir)</PublishUrl>
348347
<DeleteExistingFiles>true</DeleteExistingFiles>
349348
</PropertyGroup>
350349

@@ -460,7 +459,7 @@
460459
</PropertyGroup>
461460

462461
<PropertyGroup>
463-
<_NpxCmd>npx electron-builder --config=./$(ElectronBuilderJson) --$(ElectronPlatform) --$(ElectronArch) -c.electronVersion=$(ElectronVersion) $(ElectronPaParams)</_NpxCmd>
462+
<_NpxCmd>npx electron-builder --config=./$(ElectronBuilderJson) --$(ElectronPlatform) --$(ElectronArch) -c.electronVersion=$(ElectronVersion) -c.directories.output &quot;$(ElectronPublishUrlFullPath)&quot; $(ElectronPaParams)</_NpxCmd>
464463
<_NpxCmd Condition="'$(IsLinuxWsl)' == 'true'">wsl bash -ic '$(_NpxCmd)'</_NpxCmd>
465464
</PropertyGroup>
466465

0 commit comments

Comments
 (0)