mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 02:21:27 -07:00
19 lines
406 B
C#
19 lines
406 B
C#
using System.Windows.Input;
|
|
using Bloxstrap.Helpers;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
|
|
namespace Bloxstrap.ViewModels
|
|
{
|
|
public class AboutViewModel
|
|
{
|
|
public string Version => $"Version {App.Version}";
|
|
|
|
public ICommand CFUWindowCommand => new RelayCommand(CheckForUpdate);
|
|
|
|
private void CheckForUpdate()
|
|
{
|
|
Updater.CheckForUpdate();
|
|
}
|
|
}
|
|
}
|