Version wieder auf 3.30

This commit is contained in:
2026-02-20 16:50:06 +01:00
parent c5ba4bd0ad
commit 862f674460
3 changed files with 4 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ namespace BeWo
public static LoginControl LoginControl;
public static MainControl MainControl;
public static string ShortVersion = "3.29";
public static string ShortVersion = "3.30";
public static string Version => BeWoAppInfo.BeWoAppVersion.ToString();
public static int RenderTier = 0;

View File

@@ -14,9 +14,9 @@ namespace BeWo
static BeWoAppInfo()
{
var baseVersion = new Version(BeWoApp.ShortVersion);
var stage = BeWoClientReleaseStage.Sandbox;
var stageVersion = new Version("3.1");
var feature = BeWoClientFeature.AI;
var stage = BeWoClientReleaseStage.Release;
var stageVersion = new Version("4.0");
var feature = BeWoClientFeature.None;
BeWoAppVersion = new BeWoAppVersion(baseVersion, stage, stageVersion, feature);
}

View File

@@ -14,7 +14,6 @@ namespace BeWo.Core.Commands
public static DelegateCommand GetAiViewCommand(Action openView, UserRightType userRightType, Func<bool> additionalCheckup = null, bool? useCommandManager = null)
{
bool canExecute() =>
BeWoAppInfo.IsInAiMode &&
(BeWoApp.AppSettings?.ModuleAiEnabled ?? BeWoApp.AppSettings?.ShowAI ?? false) &&
BeWoApp.HasLoggedOnUserRight(userRightType) &&
(additionalCheckup is null || additionalCheckup());