|
34 | 34 | <ElevatorPackageArchitecture Condition="'$(ElevatorPackageArchitecture)' == ''" |
35 | 35 | >x64</ElevatorPackageArchitecture |
36 | 36 | > |
37 | | - <ElevatorPackageExePath>$(PkgDevolutions_UniGetUI_Elevator)\runtimes\win-$(ElevatorPackageArchitecture)\native\UniGetUI Elevator.exe</ElevatorPackageExePath> |
| 37 | + <ElevatorPackageNativePath>$(PkgDevolutions_UniGetUI_Elevator)\runtimes\win-$(ElevatorPackageArchitecture)\native</ElevatorPackageNativePath> |
| 38 | + <ElevatorPackageExePath>$(ElevatorPackageNativePath)\UniGetUI Elevator.exe</ElevatorPackageExePath> |
| 39 | + <ElevatorPackageDllPath>$(ElevatorPackageNativePath)\getfilesiginforedist.dll</ElevatorPackageDllPath> |
38 | 40 | </PropertyGroup> |
39 | 41 |
|
40 | 42 | <PropertyGroup> |
|
71 | 73 | Condition="!Exists('$(ElevatorPackageExePath)')" |
72 | 74 | Text="NuGet elevator executable not found at '$(ElevatorPackageExePath)'. Ensure package restore has completed for Devolutions.UniGetUI.Elevator." |
73 | 75 | /> |
| 76 | + <Error |
| 77 | + Condition="!Exists('$(ElevatorPackageDllPath)')" |
| 78 | + Text="NuGet elevator dependency DLL not found at '$(ElevatorPackageDllPath)'. Ensure package restore has completed for Devolutions.UniGetUI.Elevator." |
| 79 | + /> |
74 | 80 | </Target> |
75 | 81 |
|
76 | 82 | <ItemGroup> |
|
151 | 157 | <PackageReference Include="Octokit" Version="14.0.0" /> |
152 | 158 | <PackageReference |
153 | 159 | Include="Devolutions.UniGetUI.Elevator" |
154 | | - Version="2.6.1" |
| 160 | + Version="2.6.1.1" |
155 | 161 | GeneratePathProperty="true" |
156 | 162 | ExcludeAssets="build;buildTransitive" |
157 | 163 | /> |
|
365 | 371 | <Pack>false</Pack> |
366 | 372 | </Content> |
367 | 373 | <Content |
368 | | - Update="Assets\Utilities\getfilesiginforedist.dll" |
369 | | - Condition="'$(Platform)' == 'x64'" |
| 374 | + Include="$(ElevatorPackageDllPath)" |
| 375 | + Link="Assets\Utilities\getfilesiginforedist.dll" |
| 376 | + Condition="Exists('$(ElevatorPackageDllPath)')" |
370 | 377 | > |
371 | 378 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 379 | + <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
| 380 | + <Visible>false</Visible> |
| 381 | + <Pack>false</Pack> |
372 | 382 | </Content> |
373 | 383 | <Content Update="Assets\Utilities\install_scoop.cmd"> |
374 | 384 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
|
0 commit comments