浏览代码

Set release info for debug install

flabbet 3 月之前
父节点
当前提交
08b682cd2c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/PixiEditor/ViewModels/SubViewModels/UpdateViewModel.cs

+ 1 - 0
src/PixiEditor/ViewModels/SubViewModels/UpdateViewModel.cs

@@ -248,6 +248,7 @@ internal class UpdateViewModel : SubViewModel<ViewModelMain>
     [Command.Debug("PixiEditor.Update.DebugInstall", "Debug Install Update", "(DEBUG) Install update zip file without checking for updates")]
     [Command.Debug("PixiEditor.Update.DebugInstall", "Debug Install Update", "(DEBUG) Install update zip file without checking for updates")]
     public void DebugInstall()
     public void DebugInstall()
     {
     {
+        UpdateChecker.SetLatestReleaseInfo(new ReleaseInfo(true) { TagName = "2.2.2.2" });
         Install(true);
         Install(true);
     }
     }