mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Removed BuildInfo constant
Indicate which version is currently installed in release list
This commit is contained in:
1 parent
1351796f42
commit
0852769cc9
9 files changed
+47
-55
No files matched your search
@@ -61,6 +61,7 @@ public class ReleaseViewModel : ActivatableViewModelBase
|
||||
else
|
||||
throw new PlatformNotSupportedException("Cannot auto update on the current platform");
|
||||
|
||||
|
||||
ReleaseId = releaseId;
|
||||
Version = version;
|
||||
CreatedAt = createdAt;
|
||||
@@ -144,6 +145,8 @@ public class ReleaseViewModel : ActivatableViewModelBase
|
||||
set => RaiseAndSetIfChanged(ref _installationFinished, value);
|
||||
}
|
||||
|
||||
public bool IsCurrentVersion => Version == Constants.CurrentVersion;
|
||||
|
||||
public void NavigateToSource()
|
||||
{
|
||||
Utilities.OpenUrl($"https://github.com/Artemis-RGB/Artemis/commit/{Commit}");
|
||||
|
||||
Reference in new issue
Block a user