Browse Source

Fix regression on PR builds version number since new release system

Mary 4 năm trước cách đây
mục cha
commit
26019c7d06
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      Ryujinx.Common/ReleaseInformations.cs

+ 4 - 2
Ryujinx.Common/ReleaseInformations.cs

@@ -1,4 +1,6 @@
-namespace Ryujinx.Common
+using System.Reflection;
+
+namespace Ryujinx.Common
 {
     // DO NOT EDIT, filled by CI
     public static class ReleaseInformations
@@ -25,7 +27,7 @@
             }
             else
             {
-                return "1.0.0-dirty";
+                return Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
             }
         }
     }