|
@@ -20,22 +20,22 @@
|
|
<ProjectReference Include="..\PixiEditor.UpdateInstaller\PixiEditor.UpdateInstaller\PixiEditor.UpdateInstaller.csproj"/>
|
|
<ProjectReference Include="..\PixiEditor.UpdateInstaller\PixiEditor.UpdateInstaller\PixiEditor.UpdateInstaller.csproj"/>
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
|
|
- <Target Name="Rename" AfterTargets="AfterBuild" Condition="'$(OS)' == 'Windows_NT'">
|
|
|
|
|
|
+ <Target Name="Rename" AfterTargets="AfterBuild" Condition="'$(RuntimeIdentifier)'=='win-x64' or '$(RuntimeIdentifier)'=='win-arm64'">
|
|
<Move SourceFiles="$(OutDir)PixiEditor.UpdateInstaller.Exe.exe" DestinationFiles="$(OutDir)PixiEditor.UpdateInstaller.exe"/>
|
|
<Move SourceFiles="$(OutDir)PixiEditor.UpdateInstaller.Exe.exe" DestinationFiles="$(OutDir)PixiEditor.UpdateInstaller.exe"/>
|
|
<Message Text="Renamed build executable file." Importance="high"/>
|
|
<Message Text="Renamed build executable file." Importance="high"/>
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
- <Target Name="Rename" AfterTargets="Publish" Condition="'$(OS)' == 'Windows_NT'">
|
|
|
|
|
|
+ <Target Name="Rename" AfterTargets="Publish" Condition="'$(RuntimeIdentifier)'=='win-x64' or '$(RuntimeIdentifier)'=='win-arm64'">
|
|
<Move SourceFiles="$(PublishDir)PixiEditor.UpdateInstaller.Exe.exe" DestinationFiles="$(PublishDir)PixiEditor.UpdateInstaller.exe"/>
|
|
<Move SourceFiles="$(PublishDir)PixiEditor.UpdateInstaller.Exe.exe" DestinationFiles="$(PublishDir)PixiEditor.UpdateInstaller.exe"/>
|
|
<Message Text="Renamed published executable file." Importance="high"/>
|
|
<Message Text="Renamed published executable file." Importance="high"/>
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
- <Target Name="Rename" AfterTargets="AfterBuild" Condition="'$(OS)' != 'Windows_NT'">
|
|
|
|
|
|
+ <Target Name="Rename" AfterTargets="AfterBuild" Condition="'$(RuntimeIdentifier)'!='win-x64' and '$(RuntimeIdentifier)'!='win-arm64'">
|
|
<Move SourceFiles="$(OutDir)PixiEditor.UpdateInstaller.Exe" DestinationFiles="$(OutDir)PixiEditor.UpdateInstaller"/>
|
|
<Move SourceFiles="$(OutDir)PixiEditor.UpdateInstaller.Exe" DestinationFiles="$(OutDir)PixiEditor.UpdateInstaller"/>
|
|
<Message Text="Renamed build executable file." Importance="high"/>
|
|
<Message Text="Renamed build executable file." Importance="high"/>
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
- <Target Name="Rename" AfterTargets="Publish" Condition="'$(OS)' != 'Windows_NT'">
|
|
|
|
|
|
+ <Target Name="Rename" AfterTargets="Publish" Condition="'$(RuntimeIdentifier)'!='win-x64' and '$(RuntimeIdentifier)'!='win-arm64'">
|
|
<Move SourceFiles="$(PublishDir)PixiEditor.UpdateInstaller.Exe" DestinationFiles="$(PublishDir)PixiEditor.UpdateInstaller"/>
|
|
<Move SourceFiles="$(PublishDir)PixiEditor.UpdateInstaller.Exe" DestinationFiles="$(PublishDir)PixiEditor.UpdateInstaller"/>
|
|
<Message Text="Renamed published executable file." Importance="high"/>
|
|
<Message Text="Renamed published executable file." Importance="high"/>
|
|
</Target>
|
|
</Target>
|