File tree Expand file tree Collapse file tree
SRTPluginManager/MVVM/View Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55using static SRTPluginManager . Core . Utilities ;
66using System ;
77using System . Net . Http ;
8- using System . Threading . Tasks ;
9- using System . Windows ;
108using Newtonsoft . Json . Linq ;
11- using System . IO . Compression ;
12- using System . Linq ;
9+ using System . Reflection ;
1310
1411namespace SRTPluginManager . MVVM . View
1512{
@@ -19,7 +16,7 @@ namespace SRTPluginManager.MVVM.View
1916 public partial class HomeView : UserControl
2017 {
2118 private const string updateJsonUrl = "https://github.com/SpeedrunTooling/SRTPluginManager/releases/download/1.0.0.0U/Update.json" ;
22- private const string currentVersion = "1.0.1.1" ; // Ensure this matches your actual current version
19+ private static readonly string currentVersion = FileVersionInfo . GetVersionInfo ( Assembly . GetExecutingAssembly ( ) . Location ) . FileVersion ;
2320
2421 public HomeView ( )
2522 {
You can’t perform that action at this time.
0 commit comments