Browse Source

Fixed rename build, third party licenses link and version string

flabbet 1 year ago
parent
commit
76ab10c853

+ 7 - 2
src/PixiEditor.Desktop/PixiEditor.Desktop.csproj

@@ -30,6 +30,11 @@
 
 
   <Target Name="Rename" AfterTargets="AfterBuild">
   <Target Name="Rename" AfterTargets="AfterBuild">
     <Move SourceFiles="$(OutDir)PixiEditor.Desktop.exe" DestinationFiles="$(OutDir)PixiEditor.exe" />
     <Move SourceFiles="$(OutDir)PixiEditor.Desktop.exe" DestinationFiles="$(OutDir)PixiEditor.exe" />
-    <Message Text="Renamed executable file." Importance="high" />
-  </Target> 
+    <Message Text="Renamed build executable file." Importance="high" />
+  </Target>
+
+  <Target Name="Rename" AfterTargets="Publish">
+    <Move SourceFiles="$(PublishDir)PixiEditor.Desktop.exe" DestinationFiles="$(PublishDir)PixiEditor.exe" />
+    <Message Text="Renamed published executable file." Importance="high" />
+  </Target>
 </Project>
 </Project>

+ 1 - 1
src/PixiEditor/Helpers/VersionHelpers.cs

@@ -11,7 +11,7 @@ internal static class VersionHelpers
 
 
     public static string GetCurrentAssemblyVersionString(bool moreSpecific = false)
     public static string GetCurrentAssemblyVersionString(bool moreSpecific = false)
     {
     {
-        StringBuilder builder = new($"{GetCurrentAssemblyVersion().ToString(2)} Closed Beta");
+        StringBuilder builder = new($"{GetCurrentAssemblyVersion().ToString()} Closed Beta");
 
 
         // Dev Build removed for closed beta
         // Dev Build removed for closed beta
 #if MSIX_DEBUG
 #if MSIX_DEBUG

+ 1 - 1
src/PixiEditor/Views/Dialogs/AboutPopup.axaml

@@ -78,7 +78,7 @@
             </Label>
             </Label>
 
 
             <Label Margin="20 10 0 0" FontSize="14">
             <Label Margin="20 10 0 0" FontSize="14">
-                <TextBlock ui1:Hyperlink.Url="THIRD_PARTY_LICENSES.txt">
+                <TextBlock ui1:Hyperlink.Url="Third Party Licenses">
                     <Run ui:Translator.Key="THIRD_PARTY_LICENSES"/>
                     <Run ui:Translator.Key="THIRD_PARTY_LICENSES"/>
                     <Run Text="{DynamicResource icon-link}" Classes="pixi-icon"/>
                     <Run Text="{DynamicResource icon-link}" Classes="pixi-icon"/>
                 </TextBlock>
                 </TextBlock>