浏览代码

Also added version append to update version info

CPKreuz 3 年之前
父节点
当前提交
606344fa4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      PixiEditor/ViewModels/SubViewModels/Main/UpdateViewModel.cs

+ 1 - 1
PixiEditor/ViewModels/SubViewModels/Main/UpdateViewModel.cs

@@ -42,7 +42,7 @@ namespace PixiEditor.ViewModels.SubViewModels.Main
                 RaisePropertyChanged(nameof(UpdateReadyToInstall));
                 RaisePropertyChanged(nameof(UpdateReadyToInstall));
                 if (value)
                 if (value)
                 {
                 {
-                    VersionText = $"to install update (current {UpdateChecker.CurrentVersionTag})"; // Button shows "Restart" before this text
+                    VersionText = $"to install update (current {VersionHelpers.GetCurrentAssemblyVersionString()})"; // Button shows "Restart" before this text
                 }
                 }
             }
             }
         }
         }