/// <summary> /// Prevents a default instance of the <see cref="MainViewModel" /> class from being created. /// </summary> private MainViewModel() : base() { // Attach the logger view model to the engine's output Logger.Subscribe(OutputViewModel.GetInstance()); ApplicationUpdater.UpdateApp(); Squalr.Engine.Projects.Compiler.Compile(true); if (Vectors.HasVectorSupport) { Logger.Log(LogLevel.Info, "Hardware acceleration enabled (vector size: " + Vector <Byte> .Count + ")"); } Logger.Log(LogLevel.Info, "Squalr started"); // this.DisplayChangeLogCommand = new RelayCommand(() => ChangeLogViewModel.GetInstance().DisplayChangeLog(new Content.ChangeLog().TransformText()), () => true); }